We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711c69a commit 62614f3Copy full SHA for 62614f3
src/Bridges/FormsDI/FormsExtension.php
@@ -25,7 +25,7 @@ class FormsExtension extends Nette\DI\CompilerExtension
25
26
public function afterCompile(Nette\PhpGenerator\ClassType $class)
27
{
28
- $initialize = $class->methods['initialize'];
+ $initialize = $class->getMethod('initialize');
29
$config = $this->validateConfig($this->defaults);
30
31
foreach ((array) $config['messages'] as $name => $text) {
0 commit comments