diff options
-rw-r--r-- | build/psalm-baseline.xml | 5 | ||||
-rw-r--r-- | lib/private/AppFramework/Bootstrap/Coordinator.php | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 5122106d850..7f565f62ef4 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1266,11 +1266,6 @@ <code><![CDATA[$this->request->server]]></code> </NoInterfaceProperties> </file> - <file src="lib/autoloader.php"> - <RedundantCondition> - <code><![CDATA[$this->memoryCache]]></code> - </RedundantCondition> - </file> <file src="lib/base.php"> <InvalidArgument> <code><![CDATA[$restrictions]]></code> diff --git a/lib/private/AppFramework/Bootstrap/Coordinator.php b/lib/private/AppFramework/Bootstrap/Coordinator.php index 260f54ecfcc..4e613703dec 100644 --- a/lib/private/AppFramework/Bootstrap/Coordinator.php +++ b/lib/private/AppFramework/Bootstrap/Coordinator.php @@ -87,7 +87,8 @@ class Coordinator { $this->eventLogger->start("bootstrap:register_app:$appId:application", "Load `Application` instance for $appId"); try { /** @var IBootstrap&App $application */ - $apps[$appId] = $application = $this->serverContainer->query($applicationClassName); + $application = $this->serverContainer->query($applicationClassName); + $apps[$appId] = $application; } catch (QueryException $e) { // Weird, but ok $this->eventLogger->end("bootstrap:register_app:$appId"); |