Skip to content

Commit

Permalink
Update jsonSerialize return (#1575)
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienPillevesse committed Apr 30, 2024
1 parent f84583f commit 520ffb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions src/Annotations/AbstractAnnotation.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,9 @@ public function __debugInfo()
return $properties;
}

/**
* @return mixed
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
Expand Down

0 comments on commit 520ffb7

Please sign in to comment.