From: Cyperghost Date: Wed, 13 Nov 2024 09:17:50 +0000 (+0100) Subject: `$fooFromContext` can be null X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8de27f8;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git `$fooFromContext` can be null --- diff --git a/docs/migration/wsc60/php.md b/docs/migration/wsc60/php.md index 5fde877a..a9518458 100644 --- a/docs/migration/wsc60/php.md +++ b/docs/migration/wsc60/php.md @@ -301,7 +301,7 @@ final class FooImageFileProcessor extends AbstractFileProcessor return true; } - if ($fooFromCoreFile->fooID === $fooFromContext->fooID) { + if ($fooFromCoreFile->fooID === $fooFromContext?->fooID) { return true; }