Skip to content

Commit d8de27f

Browse files
committed
$fooFromContext can be null
1 parent 50ac5b0 commit d8de27f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/migration/wsc60/php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ final class FooImageFileProcessor extends AbstractFileProcessor
301301
return true;
302302
}
303303

304-
if ($fooFromCoreFile->fooID === $fooFromContext->fooID) {
304+
if ($fooFromCoreFile->fooID === $fooFromContext?->fooID) {
305305
return true;
306306
}
307307

0 commit comments

Comments
 (0)