`$fooFromContext` can be null
authorCyperghost <olaf_schmitz_1@t-online.de>
Wed, 13 Nov 2024 09:17:50 +0000 (10:17 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Wed, 13 Nov 2024 09:17:50 +0000 (10:17 +0100)
docs/migration/wsc60/php.md

index 5fde877a12b98ad5389d872dc617a932234c36e7..a95184586d9cb6a8538683e358e51a9d2c1f190e 100644 (file)
@@ -301,7 +301,7 @@ final class FooImageFileProcessor extends AbstractFileProcessor
             return true;
         }
 
-        if ($fooFromCoreFile->fooID === $fooFromContext->fooID) {
+        if ($fooFromCoreFile->fooID === $fooFromContext?->fooID) {
             return true;
         }