diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..73f69e0
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
+# Editor-based HTTP Client requests
+/httpRequests/
diff --git a/.idea/php.xml b/.idea/php.xml
index 02facb2..868ac8c 100644
--- a/.idea/php.xml
+++ b/.idea/php.xml
@@ -47,7 +47,7 @@
-
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index c262aba..41fc7a4 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,14 +5,10 @@
-
-
-
-
+
-
@@ -20,106 +16,11 @@
$PROJECT_DIR$/composer.json
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
options
@@ -283,7 +184,7 @@
-
+
@@ -384,18 +285,6 @@
-
-
-
@@ -592,6 +481,10 @@
+
+
+
+
diff --git a/src/Pecee/Http/Input/InputHandler.php b/src/Pecee/Http/Input/InputHandler.php
index f05bf10..1e3ac7b 100644
--- a/src/Pecee/Http/Input/InputHandler.php
+++ b/src/Pecee/Http/Input/InputHandler.php
@@ -214,11 +214,11 @@ class InputHandler
* Get input element value matching index
*
* @param string $index
- * @param string|null $defaultValue
+ * @param string|object|null $defaultValue
* @param array ...$methods
* @return string|array
*/
- public function value(string $index, ?string $defaultValue = null, ...$methods)
+ public function value(string $index, $defaultValue = null, ...$methods)
{
$input = $this->find($index, ...$methods);