Suggestion for lazy service #1145
Annotations
8 errors
Static analysis.:
src/Container.php#L205
src/Container.php:205:10: MixedAssignment: Unable to determine the type that $definition is being assigned to (see https://psalm.dev/032)
|
Static analysis.:
src/Container.php#L636
src/Container.php:636:17: MixedAssignment: Unable to determine the type that $class is being assigned to (see https://psalm.dev/032)
|
Static analysis.:
src/Container.php#L639
src/Container.php:639:17: MixedArgument: Argument 1 of Yiisoft\Definitions\ArrayDefinition::fromPreparedData cannot be class-string|mixed, expecting class-string (see https://psalm.dev/030)
|
Static analysis.:
src/Container.php#L640
src/Container.php:640:17: MixedArgument: Argument 2 of Yiisoft\Definitions\ArrayDefinition::fromPreparedData cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
|
Static analysis.:
src/Container.php#L641
src/Container.php:641:17: MixedArgument: Argument 3 of Yiisoft\Definitions\ArrayDefinition::fromPreparedData cannot be mixed, expecting array<string, array{0: string, 1: string, 2: mixed}> (see https://psalm.dev/030)
|
Static analysis.:
src/Container.php#L644
src/Container.php:644:13: MixedAssignment: Unable to determine the type that $preparedDefinition is being assigned to (see https://psalm.dev/032)
|
Static analysis.:
src/Container.php#L657
src/Container.php:657:56: MixedArgument: Argument 2 of Yiisoft\Definitions\LazyDefinition::__construct cannot be class-string|non-empty-mixed, expecting class-string (see https://psalm.dev/030)
|
Static analysis.
Process completed with exit code 2.
|
Loading