diff options
author | Xheni Myrtaj <myrtajxheni@gmail.com> | 2019-05-29 23:16:06 +0200 |
---|---|---|
committer | Xheni Myrtaj <myrtajxheni@gmail.com> | 2019-05-29 23:16:06 +0200 |
commit | d8707c69452072d4e501170a40b34f60b7df1352 (patch) | |
tree | 9eec3987570d5fd7d00a932f4491c7adf6493250 /core | |
parent | 9a7e19771fd2005bd20b4fc62bab54f4981441a5 (diff) | |
download | nextcloud-server-d8707c69452072d4e501170a40b34f60b7df1352.tar.gz nextcloud-server-d8707c69452072d4e501170a40b34f60b7df1352.zip |
Add function parameter typehint
Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php b/core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php index 7645f801d88..2eef5e9faaa 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] === '_'; |