is_array check is redundant with declared parameter type
Merge pull request #1 from bezko/patch-1

is_array check is redundant with declared parameter type