From d21d5e7108d74ffa8cfdcef9dc9558aa2cb82586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Glawaty?= Date: Mon, 14 Oct 2024 06:46:21 +0200 Subject: [PATCH] Fixed PHPStan --- src/Serializer/Handler/ObjectOrArrayHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Serializer/Handler/ObjectOrArrayHandler.php b/src/Serializer/Handler/ObjectOrArrayHandler.php index a015744..e07f076 100644 --- a/src/Serializer/Handler/ObjectOrArrayHandler.php +++ b/src/Serializer/Handler/ObjectOrArrayHandler.php @@ -33,7 +33,7 @@ public static function getSubscribingMethods(): array * @param mixed $data * @param array $type * - * @return array|ArrayObject + * @return array|ArrayObject|null */ public function serialize(SerializationVisitorInterface $visitor, $data, array $type, SerializationContext $context) {