Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ea27c55

Browse filesBrowse 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
Copy full SHA for ea27c55

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎serializer/custom_name_converter.rst

Copy file name to clipboardExpand all lines: serializer/custom_name_converter.rst
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.