Skip to content

enum support fixes

enum support fixes #31

Triggered via push April 23, 2024 14:28
Status Failure
Total duration 40s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors
phpstan: src/Service/DataTypeParser/EnumParser.php#L21
Cannot call method getName() on ReflectionType|null.
phpstan: src/Service/DataTypeParser/EnumParser.php#L40
Parameter #1 $enumOptions of method Valantic\PimcoreApiDocumentationBundle\Model\Component\Property\EnumPropertyDoc::setEnumOptions() expects array<int, string>, array<int<0, max>, int|string> given.
phpstan
Process completed with exit code 1.