diff --git a/src/Collection.php b/src/Collection.php index cf8b814..8e5328d 100644 --- a/src/Collection.php +++ b/src/Collection.php @@ -58,7 +58,7 @@ class Collection implements \ArrayAccess /** * @param string $key - * @param int $default + * @param int $default * @return int */ public function getInt($key, $default = 0) diff --git a/src/HttpRequest.php b/src/HttpRequest.php index da5c547..e688fe5 100644 --- a/src/HttpRequest.php +++ b/src/HttpRequest.php @@ -55,7 +55,7 @@ class HttpRequest extends Collection /** * @param string $key * @param mixed $default - * @return mixed + * @return null|string|array */ function get($key, $default = null) {