Nette\PhpGenerator\Method::setBody(): Argument #1 ($code) must be of type string, null given, called in vendor\kdyby\events\src\Events\DI\EventsExtension.php on line 185
Honzy opened this issue · 1 comments
Honzy commented
Zdravim,
pri aktualizaci nette/di v3.0.12 -> v3.0.13 vyskoci TypeError: Nette\PhpGenerator\Method::setBody(): Argument #1 ($code) must be of type string, null given, called in vendor\kdyby\events\src\Events\DI\EventsExtension.php on line 185
Staci prepsat $init->setBody(NULL); -> $init->setBody('');, ale toto mi neprislo jako spravne reseni, takze misto PR volim radeji new isssue.
Dekuji za opravu.