Skip to content

Commit

Permalink
uses PascalCase constants
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Oct 16, 2023
1 parent 8e7ac9c commit 6bcda51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridges/Nette/TracyExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function afterCompile(Nette\PhpGenerator\ClassType $class)
if ($this->debugMode) {
foreach ($this->config->bar as $item) {
if (is_string($item) && substr($item, 0, 1) === '@') {
$item = new Statement(['@' . $builder::THIS_CONTAINER, 'getService'], [substr($item, 1)]);
$item = new Statement(['@' . $builder::ThisContainer, 'getService'], [substr($item, 1)]);
} elseif (is_string($item)) {
$item = new Statement($item);
}
Expand Down

0 comments on commit 6bcda51

Please sign in to comment.