Skip to content

Commit 16069f7

Browse files
committed
fix Laravel
1 parent fd98505 commit 16069f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Hydra/Serializer/CollectionNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ final class CollectionNormalizer extends AbstractCollectionNormalizer
4444
self::PRESERVE_COLLECTION_KEYS => false,
4545
];
4646

47-
public function __construct(private readonly ContextBuilderInterface $contextBuilder, ResourceClassResolverInterface $resourceClassResolver, private readonly IriConverterInterface $iriConverter, private ?ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory = null, array $defaultContext = [])
47+
public function __construct(private readonly ContextBuilderInterface $contextBuilder, ResourceClassResolverInterface $resourceClassResolver, private readonly IriConverterInterface $iriConverter, private readonly ?ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory = null, array $defaultContext = [])
4848
{
4949
$this->defaultContext = array_merge($this->defaultContext, $defaultContext);
5050

0 commit comments

Comments
 (0)