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

Commit65eb6cf

Browse files
Fix typo
1 parentb834981 commit65eb6cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/VarExporter/ProxyHelper.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ public static function exportType(\ReflectionFunctionAbstract|\ReflectionPropert
477477
return'';
478478
}
479479
if (null ===$glue) {
480-
$defaultNull =$ownerinstanceof \ReflectionParameter &&'null' ===rtrim(substr(explode('$'.$owner->name.' =', (string)$owner,2)[1] ??'',0, -2));
480+
$defaultNull =$ownerinstanceof \ReflectionParameter &&'NULL' ===rtrim(substr(explode('$'.$owner->name.' =', (string)$owner,2)[1] ??'',0, -2));
481481

482482
return (!$noBuiltin && ($type->allowsNull() ||$defaultNull) && !\in_array($name, ['mixed','null'],true) ?'?' :'').$types[0];
483483
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp