From 1e30936b78697c5a474c10537fa45e5cdce342e5 Mon Sep 17 00:00:00 2001 From: John Molakvoæ Date: Thu, 6 Feb 2025 15:21:18 +0100 Subject: fix: psalm and OCP @since declarations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ferdinand Thiessen Signed-off-by: John Molakvoæ --- lib/private/Files/Type/Detection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/private') 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 */ + /** @var array */ protected array $mimetypes = []; protected array $secureMimeTypes = []; @@ -140,7 +140,7 @@ class Detection implements IMimeTypeDetector { } /** - * @return array + * @return array */ public function getAllMappings(): array { $this->loadMappings(); -- cgit v1.2.3