Skip to content

Commit babad16

Browse files
authored
Merge branch 'main' into ci/php-8.4
2 parents c7d69f3 + b14776f commit babad16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Fixtures/TestBundle/Document/TypedScalarValueTrait.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
trait TypedScalarValueTrait
1616
{
17-
public function normalize(NormalizerInterface $normalizer, string $format = null, array $context = []): array|string|int|float|bool
17+
public function normalize(NormalizerInterface $normalizer, ?string $format = null, array $context = []): array|string|int|float|bool
1818
{
1919
return $this->value;
2020
}
2121

22-
public function denormalize(DenormalizerInterface $denormalizer, array|string|int|float|bool $data, string $format = null, array $context = []): void
22+
public function denormalize(DenormalizerInterface $denormalizer, array|string|int|float|bool $data, ?string $format = null, array $context = []): void
2323
{
2424
$this->value = $data;
2525
}

0 commit comments

Comments
 (0)