new Spiral\Console\Confi...eConfig(static::CONFIG) of type Spiral\Console\Config\ConsoleConfig is incompatible with the type array|callable|string expected by parameter $resolver of Spiral\Core\Container::bind().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
42
/** @scrutinizer ignore-type */ new ConsoleConfig(static::CONFIG)
Loading history...
43
);
44
}
45
46
protected function getCore(LocatorInterface $locator = null): Console
47
{
48
return new Console(
49
$this->container->get(ConsoleConfig::class),
50
$locator ?? new StaticLocator([], $this->container),