Rename $key parameter to $name for consistency
This commit is contained in:
parent
f23fd03732
commit
c2f8563a52
@ -129,13 +129,13 @@ class ParameterBag implements ParameterBagInterface
|
||||
/**
|
||||
* Removes a parameter.
|
||||
*
|
||||
* @param string $key The key
|
||||
* @param string $name The parameter name
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function remove($key)
|
||||
public function remove($name)
|
||||
{
|
||||
unset($this->parameters[strtolower($key)]);
|
||||
unset($this->parameters[strtolower($name)]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user