Feature 74827 public route #57
Annotations
7 errors
PossiblyInvalidArrayAssignment:
src/HttpClient/JwVideoClient.php#L143
src/HttpClient/JwVideoClient.php:143:9: PossiblyInvalidArrayAssignment: Cannot access array value on non-array variable $data['upload'] of type object (see https://psalm.dev/118)
|
PossiblyInvalidArgument:
src/HttpClient/JwVideoClient.php#L155
src/HttpClient/JwVideoClient.php:155:19: PossiblyInvalidArgument: Argument 6 of AnzuSystems\CoreDamBundle\HttpClient\JwVideoClient::loggedRequest expects array<array-key, mixed>, but possibly different type array{upload: array{method: 'multipart'}|mixed, ...<array-key, mixed>}|object provided (see https://psalm.dev/092)
|
PossiblyInvalidArgument:
src/Logger/DamLogger.php#L46
src/Logger/DamLogger.php:46:62: PossiblyInvalidArgument: Argument 2 of Psr\Log\LoggerInterface::error expects array<array-key, mixed>, but possibly different type array<array-key, mixed>|object provided (see https://psalm.dev/092)
|
PossiblyInvalidArgument:
src/Logger/DamLogger.php#L58
src/Logger/DamLogger.php:58:61: PossiblyInvalidArgument: Argument 2 of Psr\Log\LoggerInterface::info expects array<array-key, mixed>, but possibly different type array<array-key, mixed>|object provided (see https://psalm.dev/092)
|
PossiblyInvalidArgument:
src/Logger/DamLogger.php#L70
src/Logger/DamLogger.php:70:64: PossiblyInvalidArgument: Argument 2 of Psr\Log\LoggerInterface::warning expects array<array-key, mixed>, but possibly different type array<array-key, mixed>|object provided (see https://psalm.dev/092)
|
InvalidReturnStatement:
src/Serializer/Handler/Handlers/AssetFileHandler.php#L50
src/Serializer/Handler/Handlers/AssetFileHandler.php:50:20: InvalidReturnStatement: The inferred type 'array<array-key, mixed>|object' does not match the declared return type 'array<array-key, mixed>|null' for AnzuSystems\CoreDamBundle\Serializer\Handler\Handlers\AssetFileHandler::serialize (see https://psalm.dev/128)
|
PHP 8.2
Process completed with exit code 2.
|