mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
sa: Fix all issues related to PHP versions and static-analysis.
This commit is contained in:
@@ -31,7 +31,7 @@ class ThirdPartyNormalizer implements NormalizerAwareInterface, NormalizerInterf
|
||||
/**
|
||||
* @param ThirdParty $thirdParty
|
||||
*/
|
||||
public function normalize($thirdParty, ?string $format = null, array $context = [])
|
||||
public function normalize($thirdParty, $format = null, array $context = [])
|
||||
{
|
||||
return [
|
||||
'type' => 'thirdparty',
|
||||
@@ -49,7 +49,7 @@ class ThirdPartyNormalizer implements NormalizerAwareInterface, NormalizerInterf
|
||||
];
|
||||
}
|
||||
|
||||
public function supportsNormalization($data, ?string $format = null)
|
||||
public function supportsNormalization($data, $format = null)
|
||||
{
|
||||
return $data instanceof ThirdParty && 'json' === $format;
|
||||
}
|
||||
|
Reference in New Issue
Block a user