Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitb0f09c6

Browse files
committed
use ? before nullable single type declaration
1 parent0c6a77a commitb0f09c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎serializer/custom_name_converter.rst

Lines 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)

[8]ページ先頭

©2009-2025 Movatter.jp