Permalink
Browse files

Rename $key parameter to $name for consistency

  • Loading branch information...
aderuwe committed Sep 13, 2012
1 parent 6137700 commit 6d97523228158d5b75ea2fc18ff88ea39f818a18
Showing with 3 additions and 3 deletions.
  1. +3 −3 ParameterBag/ParameterBag.php
@@ -129,13 +129,13 @@ public function has($name)
/**
* 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)]);
}
/**

0 comments on commit 6d97523

Please sign in to comment.