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 b0f09c6

Browse filesBrowse files
committed
use ? before nullable single type declaration
1 parent 0c6a77a commit b0f09c6
Copy full SHA for b0f09c6

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.