Skip to content

Commit

Permalink
fix return type for Symfony debug class (#1245)
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim authored May 21, 2022
1 parent 7313ff7 commit 5016342
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Annotations/AbstractAnnotation.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ public function __debugInfo()

/**
* Customize the way json_encode() renders the annotations.
*
* @return mixed
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
Expand Down
2 changes: 2 additions & 0 deletions src/Annotations/Operation.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ abstract class Operation extends AbstractAnnotation

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

0 comments on commit 5016342

Please sign in to comment.