Skip to content

Commit

Permalink
Doctrine debugger compatibility with latest Tracy
Browse files Browse the repository at this point in the history
  • Loading branch information
rostenkowski committed Jul 18, 2018
1 parent 5f9246a commit 558d29c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Doctrine/Debugger/TracyBar.php
Expand Up @@ -79,7 +79,7 @@ public function setHeight(string $height)
}


public function getPanel()
public function getPanel(): string
{
$totalQueries = count($this->queries);
$color = $totalQueries ? 'green' : '#555555';
Expand All @@ -105,7 +105,7 @@ public function getPanel()
}


public function getTab()
public function getTab(): string
{
$count = count($this->queries);
$color = $count ? 'green' : '#555555';
Expand Down

0 comments on commit 558d29c

Please sign in to comment.