PHP:
I though that method never return null in any case.
Читать далее...
Код:
/**
* @template T of Entity
*
* @param class-string<T> $shortName
*
* @return T|null
*/
public function create($shortName)
{
return $this->instantiateEntity($shortName);
}
I though that method never return null in any case.
Читать далее...