*$array* is not a good variable name
Use type hinting (array $something)