mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
sa: Fix all issues related to PHP versions and static-analysis.
This commit is contained in:
@@ -57,7 +57,7 @@ class PersonDocGenNormalizer implements
|
||||
$this->translatableStringHelper = $translatableStringHelper;
|
||||
}
|
||||
|
||||
public function normalize($person, ?string $format = null, array $context = [])
|
||||
public function normalize($person, $format = null, array $context = [])
|
||||
{
|
||||
/** @var Person $person */
|
||||
$dateContext = $context;
|
||||
@@ -132,7 +132,7 @@ class PersonDocGenNormalizer implements
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function supportsNormalization($data, ?string $format = null, array $context = [])
|
||||
public function supportsNormalization($data, $format = null, array $context = [])
|
||||
{
|
||||
if ('docgen' !== $format) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user