Skip to content

Commit 4619047

Browse files
committed
refactor: change return type of deserialize method to mixed
1 parent e6cc040 commit 4619047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ObjectSerializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ public static function serializeCollection(array $collection, $style, $allowColl
412412
*
413413
* @return null|array|object a single or an array of $class instances
414414
*/
415-
public static function deserialize($data, $class, $httpHeaders = null): object|array|null
415+
public static function deserialize($data, $class, $httpHeaders = null): mixed
416416
{
417417
if ($data === null) {
418418
return null;

0 commit comments

Comments
 (0)