fix: Fix psalm issue and update baseline

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/52667/head
Côme Chilliet 2025-05-14 19:18:31 +07:00
parent 20c6d1a7e9
commit 0c56605497
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
2 changed files with 2 additions and 6 deletions

@ -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>

@ -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");