Add ability to use container as a factory #1114
Annotations
6 errors
MixedAssignment:
src/Container.php#L148
src/Container.php:148:21: MixedAssignment: Unable to determine the type that $result is being assigned to (see https://psalm.dev/032)
|
MixedArgument:
src/Container.php#L228
src/Container.php:228:43: MixedArgument: Argument 2 of Yiisoft\Di\Container::setAfterBuiltHook cannot be mixed, expecting Closure (see https://psalm.dev/030)
|
InvalidScope:
src/Hook/AfterBuiltHook.php#L18
src/Hook/AfterBuiltHook.php:18:19: InvalidScope: Invalid reference to $this in a non-class context (see https://psalm.dev/013)
|
psalm / PHP 8.0-ubuntu-latest
Process completed with exit code 2.
|
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
|
psalm / PHP 8.1-ubuntu-latest
The operation was canceled.
|