apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -26,7 +26,7 @@ class EntityWorkflowStepNormalizer implements NormalizerAwareInterface, Normaliz
/**
* @param EntityWorkflowStep $object
*/
public function normalize($object, ?string $format = null, array $context = []): array
public function normalize($object, string $format = null, array $context = []): array
{
$data = [
'type' => 'entity_workflow_step',
@@ -75,7 +75,7 @@ class EntityWorkflowStepNormalizer implements NormalizerAwareInterface, Normaliz
return $data;
}
public function supportsNormalization($data, ?string $format = null): bool
public function supportsNormalization($data, string $format = null): bool
{
return $data instanceof EntityWorkflowStep && 'json' === $format;
}