Skip to content

Commit 6ede871

Browse files
committed
fix psalm
1 parent 04f3233 commit 6ede871

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/Normalizer/ItemNormalizer.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,16 @@ public function supportsNormalization(mixed $data, ?string $format = null): bool
2929
return $data instanceof ItemInterface;
3030
}
3131

32+
/**
33+
* @param mixed $object
34+
* @param string|null $format
35+
* @param array $context
36+
* @return array
37+
*
38+
* @psalm-suppress all
39+
*/
3240
public function normalize(mixed $object, ?string $format = null, array $context = []): array
3341
{
34-
/** @psalm-suppress all */
3542
return $object->all();
3643
}
3744
}

0 commit comments

Comments
 (0)