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
|
||||
*/
|
||||
public function req($name, $strict = true)
|
||||
public function getRequired($name, $strict = true)
|
||||
{
|
||||
if ($this->has($name)) {
|
||||
$value = $this->get($name);
|
||||
|
|
Loading…
Reference in New Issue