Add function parameter typehint
Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
This commit is contained in:
parent
9a7e19771f
commit
d8707c6945
1 changed files with 1 additions and 1 deletions
|
@ -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] === '_';
|
||||
|
|
Loading…
Reference in a new issue