mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 14:24:41 +02:00
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…
x
Reference in New Issue
Block a user