From 5016342f966fca29dda84455de066c5c90d37941 Mon Sep 17 00:00:00 2001 From: Shyim <6224096+shyim@users.noreply.github.com> Date: Sat, 21 May 2022 03:52:14 +0200 Subject: [PATCH] fix return type for Symfony debug class (#1245) --- src/Annotations/AbstractAnnotation.php | 2 ++ src/Annotations/Operation.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/Annotations/AbstractAnnotation.php b/src/Annotations/AbstractAnnotation.php index 3012ad834..e783c874a 100644 --- a/src/Annotations/AbstractAnnotation.php +++ b/src/Annotations/AbstractAnnotation.php @@ -270,6 +270,8 @@ public function __debugInfo() /** * Customize the way json_encode() renders the annotations. + * + * @return mixed */ #[\ReturnTypeWillChange] public function jsonSerialize() diff --git a/src/Annotations/Operation.php b/src/Annotations/Operation.php index 8bc6440b5..2860cb461 100644 --- a/src/Annotations/Operation.php +++ b/src/Annotations/Operation.php @@ -167,6 +167,8 @@ abstract class Operation extends AbstractAnnotation /** * @inheritdoc + * + * @return mixed */ #[\ReturnTypeWillChange] public function jsonSerialize()