cli: Rename Params::req() to ::getRequired()

This commit is contained in:
Eric Lippmann 2015-05-19 17:22:23 +02:00
parent 3d1c3609c0
commit ccaebd1d73
1 changed files with 1 additions and 1 deletions

View File

@ -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);