diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index e26c5c3b..2affc46d 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -64,7 +64,7 @@ 'nullable_type_declaration_for_default_null_value' => true, 'no_empty_phpdoc' => true, - 'no_superfluous_phpdoc_tags' => true, + 'no_superfluous_phpdoc_tags' => ['allow_mixed' => true], 'phpdoc_align' => true, 'general_phpdoc_tag_rename' => true, 'phpdoc_inline_tag_normalizer' => true, diff --git a/src/Annotations/AbstractAnnotation.php b/src/Annotations/AbstractAnnotation.php index 22425ee1..822ede8a 100644 --- a/src/Annotations/AbstractAnnotation.php +++ b/src/Annotations/AbstractAnnotation.php @@ -284,6 +284,9 @@ public function __debugInfo() return $properties; } + /** + * @return mixed + */ #[\ReturnTypeWillChange] public function jsonSerialize() {