add union object normalizer #624
Annotations
6 errors
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/Normalizer/UnionObjectNormalizer.php#L32
Parameter #1 $array of function array_flip expects array<int|string>, array<class-string, string>|null given.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/Normalizer/UnionObjectNormalizer.php#L52
Parameter #1 $array of function array_keys expects array, array<class-string, string>|null given.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/Normalizer/UnionObjectNormalizer.php#L57
Parameter #2 $array of function array_key_exists expects array, array<class-string, string>|null given.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/Normalizer/UnionObjectNormalizer.php#L59
Parameter #1 $array of function array_keys expects array, array<class-string, string>|null given.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/Normalizer/UnionObjectNormalizer.php#L114
Method Patchlevel\Hydrator\Normalizer\UnionObjectNormalizer::__serialize() should return array{typeToClassMap: array<string, class-string>, classToTypeMap: array<class-string, string>, typeFieldName: string, hydrator: null} but returns array{typeToClassMap: array<string, class-string>, classToTypeMap: array<class-string, string>|null, typeFieldName: string, hydrator: null}.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest)
Process completed with exit code 1.
|