Add function parameter typehint

Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
This commit is contained in:
Xheni Myrtaj 2019-05-29 23:16:06 +02:00
parent 9a7e19771f
commit d8707c6945
No known key found for this signature in database
GPG key ID: 771C6F62523BD536

View file

@ -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] === '_';