mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Rename UrlParams::req() to ::getRequired()
req() seems mysterious :)
This commit is contained in:
parent
b1b2e3fc21
commit
3a2238f737
@ -54,7 +54,7 @@ class UrlParams
|
|||||||
*
|
*
|
||||||
* @throws MissingParameterException If the parameter was not given
|
* @throws MissingParameterException If the parameter was not given
|
||||||
*/
|
*/
|
||||||
public function req($name, $strict = true)
|
public function getRequired($name, $strict = true)
|
||||||
{
|
{
|
||||||
if ($this->has($name)) {
|
if ($this->has($name)) {
|
||||||
$value = $this->get($name);
|
$value = $this->get($name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user