Skip to content

Commit

Permalink
cli: Rename Params::req() to ::getRequired()
Browse files Browse the repository at this point in the history
  • Loading branch information
lippserd committed May 20, 2015
1 parent 3d1c360 commit ccaebd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Icinga/Cli/Params.php
Expand Up @@ -167,7 +167,7 @@ public function get($key, $default = null)
*
* @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);
Expand Down

0 comments on commit ccaebd1

Please sign in to comment.