diff options
-rw-r--r-- | build/psalm-baseline.xml | 5 | ||||
-rw-r--r-- | lib/private/Files/Type/Detection.php | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index be0729a3929..3f1c59d91a8 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1648,11 +1648,6 @@ <code><![CDATA[$this->timeFactory->getTime()]]></code> </InvalidScalarArgument> </file> - <file src="core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php"> - <InvalidArrayAccess> - <code><![CDATA[$key[0]]]></code> - </InvalidArrayAccess> - </file> <file src="core/Command/Maintenance/Mimetype/UpdateDB.php"> <UndefinedInterfaceMethod> <code><![CDATA[getAllMappings]]></code> diff --git a/lib/private/Files/Type/Detection.php b/lib/private/Files/Type/Detection.php index 1ae03794430..05901a6f0b9 100644 --- a/lib/private/Files/Type/Detection.php +++ b/lib/private/Files/Type/Detection.php @@ -185,7 +185,7 @@ class Detection implements IMimeTypeDetector { } /** - * @return array<string, array{string, string|null}> + * @return array<string, list{string, string|null}> */ public function getAllMappings(): array { $this->loadMappings(); |