`UrlParams`: Fix type for parameter `$default` of method `get()`

The parameter `default` can be null, string, int or bool.
This commit is contained in:
raviks789 2023-08-15 12:48:39 +02:00
parent d6fd3a97ca
commit c4a3cee94a
1 changed files with 2 additions and 2 deletions

View File

@ -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
*/