Skip to content

Commit 9474135

Browse files
Honzyf3l1x
authored andcommitted
Property Nette\PhpGenerator\ClassType::$methods is deprecated, use Nette\PhpGenerator\ClassType::getMethods()
(Nette/di v3.0.12 -> v3.0.13)
1 parent 1d3bfe5 commit 9474135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DI/ElasticaExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function loadConfiguration(): void
6464

6565
public function afterCompile(ClassType $class): void
6666
{
67-
$initialize = $class->methods['initialize'];
67+
$initialize = $class->getMethod('initialize');
6868
$initialize->addBody('?::getBlueScreen()->addPanel(?);', [new PhpLiteral(Debugger::class), Panel::class . '::renderException']);
6969
}
7070

0 commit comments

Comments
 (0)