$parameters is expanded, but the parameter $containerTag of Yiisoft\Form\FieldFactory::__construct() does not expect variable arguments.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
20
self::$factory = new FieldFactory(/** @scrutinizer ignore-type */ ...$parameters);
Loading history...
21
}
22
23
8
public static function factory(): FieldFactory
24
{
25
8
if (self::$factory === null) {
26
throw new RuntimeException(
27
'Field factory should be initialized with FieldStaticFactory::initialize() call.',