Skip to content

Commit f9b85c3

Browse files
committed
Fixed deprecation on PHP8.4
Implements PR #970
1 parent 496df89 commit f9b85c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serializer/PartNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function normalize($object, ?string $format = null, array $context = []):
9292
return $data;
9393
}
9494

95-
public function supportsDenormalization($data, string $type, string $format = null, array $context = []): bool
95+
public function supportsDenormalization($data, string $type, ?string $format = null, array $context = []): bool
9696
{
9797
//Only denormalize if we are doing a file import operation
9898
if (!($context['partdb_import'] ?? false)) {

0 commit comments

Comments
 (0)