From d8707c69452072d4e501170a40b34f60b7df1352 Mon Sep 17 00:00:00 2001 From: Xheni Myrtaj Date: Wed, 29 May 2019 23:16:06 +0200 Subject: [PATCH] Add function parameter typehint Signed-off-by: Xheni Myrtaj --- .../Maintenance/Mimetype/GenerateMimetypeFileBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php b/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php index 7645f801d8..2eef5e9faa 100644 --- a/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php +++ b/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php @@ -30,7 +30,7 @@ class GenerateMimetypeFileBuilder * @param $aliases * @return string */ - public function generateFile($aliases): string { + public function generateFile(array $aliases): string { // Remove comments $keys = array_filter(array_keys($aliases), function($k) { return $k[0] === '_';