diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 0bf9070..365744e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,8 +3,7 @@ - - + - + - - + + + + + + + + + + + @@ -78,15 +86,6 @@ - - - - - - - - - @@ -121,7 +120,6 @@ - requirements # Advan # Feed call_user_func_array @@ -151,6 +149,7 @@ void set hasParam + csrf_token D:\Workspace\simple-php-router\src\Pecee\SimpleRouter\Route @@ -211,7 +210,6 @@ @@ -282,7 +281,7 @@ - + @@ -557,7 +556,7 @@ - @@ -569,15 +568,16 @@ - + + - - + + @@ -861,13 +861,6 @@ - - - - - - - @@ -949,8 +942,15 @@ - - + + + + + + + + + diff --git a/src/Pecee/Http/Input/InputHandler.php b/src/Pecee/Http/Input/InputHandler.php index c83a690..028f9ec 100644 --- a/src/Pecee/Http/Input/InputHandler.php +++ b/src/Pecee/Http/Input/InputHandler.php @@ -251,12 +251,12 @@ class InputHandler * Check if a input-item exist * * @param string $index - * @param array ...$method + * @param array ...$methods * @return bool */ - public function exists(string $index, ...$method): bool + public function exists(string $index, ...$methods): bool { - return $this->get($index, $method) !== null; + return $this->get($index, ...$methods) !== null; } /**