Skip to content

Commit ea27c55

Browse files
committed
minor #20473 use ? before nullable single type declaration (xabbuh)
This PR was merged into the 7.1 branch. Discussion ---------- use ? before nullable single type declaration see https://github.com/symfony/symfony-docs/actions/runs/12357370718/job/34485453495 Commits ------- b0f09c6 use ? before nullable single type declaration
2 parents 0c6a77a + b0f09c6 commit ea27c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serializer/custom_name_converter.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ A custom name converter can handle such cases::
3030

3131
class OrgPrefixNameConverter implements NameConverterInterface
3232
{
33-
public function normalize(string $propertyName, string $class = null, ?string $format = null, array $context = []): string
33+
public function normalize(string $propertyName, ?string $class = null, ?string $format = null, array $context = []): string
3434
{
3535
// during normalization, add the prefix
3636
return 'org_'.$propertyName;

0 commit comments

Comments
 (0)