Fixed default parameter for all method allowed to by empty.

This commit is contained in:
Simon Sessingø
2018-04-06 18:01:49 +02:00
parent 5db4621831
commit b8cfc4eb0b
2 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -290,7 +290,7 @@ class InputHandler
* @param array $filter Only take items in filter
* @return array
*/
public function all(array $filter): array
public function all(array $filter = []): array
{
$output = $_GET;