`UrlParams`: Fix type for parameter `$default` of method `get()`
The parameter `default` can be null, string, int or bool.
This commit is contained in:
parent
d6fd3a97ca
commit
c4a3cee94a
|
@ -30,8 +30,8 @@ class UrlParams
|
|||
* Returns the last URL param if defined multiple times, $default if not
|
||||
* given at all
|
||||
*
|
||||
* @param string $param The parameter you're interested in
|
||||
* @param string $default An optional default value
|
||||
* @param string $param The parameter you're interested in
|
||||
* @param string|int|bool|null $default An optional default value
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue