Skip to content

Nette\Application\UI\Multiplier factory can return null #179

@zeleznypa

Description

@zeleznypa

nette/application since 3.2.5 allows null as a return type of the Multiplier factory

<?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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions