new Spiral\Tests\Boot\Fixtures\SampleClass() of type Spiral\Tests\Boot\Fixtures\SampleClass is incompatible with the type array|callable|string expected by parameter $resolver of Spiral\Core\BinderInterface::bind().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
26
$binder->bind('cde', /** @scrutinizer ignore-type */ new SampleClass());