mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
cli: Rename Params::req() to ::getRequired()
This commit is contained in:
parent
3d1c3609c0
commit
ccaebd1d73
@ -167,7 +167,7 @@ class Params
|
|||||||
*
|
*
|
||||||
* @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