Skip to content

Commit

Permalink
deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
paullla committed Aug 23, 2023
1 parent 74722a2 commit 704f8d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="-1"/>
<server name="APP_ENV" value="test" force="true"/>
<server name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/>
<server name="SHELL_VERBOSITY" value="-1"/>
<server name="KERNEL_DIR" value="tests/Fixtures/app/"/>
<server name="KERNEL_CLASS" value="AppKernel"/>
Expand Down
2 changes: 1 addition & 1 deletion src/Serializer/ActivityLogCollectionNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function getSupportedTypes(?string $format): array
return $this->decorated->getSupportedTypes($format);
}

public function supportsNormalization($data, string $format = null): bool
public function supportsNormalization($data, string $format = null, array $context = []): bool
{
return $data instanceof Collection && self::FORMAT === $format;
}
Expand Down

0 comments on commit 704f8d9

Please sign in to comment.