Apply CR suggestions #173
Annotations
10 errors
|
src/DataAttributesHandler.php#L53
src/DataAttributesHandler.php:53:24: MixedMethodCall: Cannot determine the type of $resolver when calling method prepareData (see https://psalm.dev/015)
|
src/ObjectFactory/ReflectionObjectFactory.php#L36
src/ObjectFactory/ReflectionObjectFactory.php:36:50: MixedArgumentTypeCoercion: Argument 1 of ReflectionClass::newInstanceArgs expects array<int, mixed>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
|
src/ParameterAttributesHandler.php#L34
src/ParameterAttributesHandler.php:34:16: MixedInferredReturnType: Could not verify return type 'Yiisoft\Hydrator\Result' for Yiisoft\Hydrator\ParameterAttributesHandler::handle (see https://psalm.dev/047)
|
src/ParameterAttributesHandler.php#L62
src/ParameterAttributesHandler.php:62:17: MixedArgument: Argument 2 of Yiisoft\Hydrator\Context::__construct cannot be Yiisoft\Hydrator\Result|mixed, expecting Yiisoft\Hydrator\Result (see https://psalm.dev/030)
|
src/ParameterAttributesHandler.php#L62
src/ParameterAttributesHandler.php:62:37: MixedMethodCall: Cannot determine the type of $hereResolveResult when calling method isResolved (see https://psalm.dev/015)
|
src/ParameterAttributesHandler.php#L67
src/ParameterAttributesHandler.php:67:45: MixedMethodCall: Cannot determine the type of $resolver when calling method getParameterValue (see https://psalm.dev/015)
|
src/ParameterAttributesHandler.php#L70
src/ParameterAttributesHandler.php:70:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
src/ResolverFactory/ContainerAttributeResolverFactory.php#L29
src/ResolverFactory/ContainerAttributeResolverFactory.php:29:16: ImplementedReturnTypeMismatch: The inherited return type 'T:fn-yiisoft\hydrator\resolverfactory\attributeresolverfactoryinterface::create as mixed' for Yiisoft\Hydrator\ResolverFactory\AttributeResolverFactoryInterface::create is different to the implemented return type for Yiisoft\Hydrator\ResolverFactory\ContainerAttributeResolverFactory::create 'mixed|object|string' (see https://psalm.dev/123)
|
|
The logs for this run have expired and are no longer available.
Loading