diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2025-02-06 15:21:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-06 15:21:18 +0100 |
commit | 1e30936b78697c5a474c10537fa45e5cdce342e5 (patch) | |
tree | 80c829c40499ce5f565973c18b542e577387cdc5 /lib/private | |
parent | 6baafd82b65eb8021d9611319886d19c28586e1f (diff) | |
download | nextcloud-server-fix/mime-int.tar.gz nextcloud-server-fix/mime-int.zip |
fix: psalm and OCP @since declarationsfix/mime-int
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Files/Type/Detection.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Type/Detection.php b/lib/private/Files/Type/Detection.php index e8fbab0330e..3676a9b736c 100644 --- a/lib/private/Files/Type/Detection.php +++ b/lib/private/Files/Type/Detection.php @@ -23,7 +23,7 @@ class Detection implements IMimeTypeDetector { private const CUSTOM_MIMETYPEMAPPING = 'mimetypemapping.json'; private const CUSTOM_MIMETYPEALIASES = 'mimetypealiases.json'; - /** @var array<string, array{string, string|null}> */ + /** @var array<string, list{string, string|null}> */ protected array $mimetypes = []; protected array $secureMimeTypes = []; @@ -140,7 +140,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(); |