-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
nette/application since 3.2.5 allows null as a return type of the Multiplier factory
phpstan-nette/stubs/Application/UI/Multiplier.stub
Lines 1 to 19 in 3320991
| <?php | |
| namespace Nette\Application\UI; | |
| /** | |
| * @template T of \Nette\ComponentModel\IComponent | |
| */ | |
| final class Multiplier extends Component | |
| { | |
| /** | |
| * @param callable(string, self<T>) : T $factory | |
| */ | |
| public function __construct(callable $factory); | |
| /** | |
| * @return T | |
| */ | |
| protected function createComponent(string $name): \Nette\ComponentModel\IComponent; | |
| } |
Metadata
Metadata
Assignees
Labels
No labels