mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +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
|
* Returns the last URL param if defined multiple times, $default if not
|
||||||
* given at all
|
* given at all
|
||||||
*
|
*
|
||||||
* @param string $param The parameter you're interested in
|
* @param string $param The parameter you're interested in
|
||||||
* @param string $default An optional default value
|
* @param string|int|bool|null $default An optional default value
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user