diff --git a/src/Application/UI/Multiplier.php b/src/Application/UI/Multiplier.php index 551249d67..f566a7f37 100644 --- a/src/Application/UI/Multiplier.php +++ b/src/Application/UI/Multiplier.php @@ -27,7 +27,7 @@ public function __construct(callable $factory) } - protected function createComponent(string $name): Nette\ComponentModel\IComponent + protected function createComponent(string $name): ?Nette\ComponentModel\IComponent { return ($this->factory)($name, $this); }