From ccaebd1d73e8ad7195e98ad159422c79da92f5bd Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 19 May 2015 17:22:23 +0200 Subject: [PATCH] cli: Rename Params::req() to ::getRequired() --- library/Icinga/Cli/Params.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Cli/Params.php b/library/Icinga/Cli/Params.php index 507c50e3b..d51e912e2 100644 --- a/library/Icinga/Cli/Params.php +++ b/library/Icinga/Cli/Params.php @@ -167,7 +167,7 @@ class Params * * @throws MissingParameterException If the parameter was not given */ - public function req($name, $strict = true) + public function getRequired($name, $strict = true) { if ($this->has($name)) { $value = $this->get($name);