Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Rename $key parameter to $name for consistency

  • Loading branch information...
commit 6d97523228158d5b75ea2fc18ff88ea39f818a18 1 parent 6137700
Alexander Deruwe authored September 13, 2012

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  ParameterBag/ParameterBag.php
6  ParameterBag/ParameterBag.php
@@ -129,13 +129,13 @@ public function has($name)
129 129
     /**
130 130
      * Removes a parameter.
131 131
      *
132  
-     * @param string $key The key
  132
+     * @param string $name The parameter name
133 133
      *
134 134
      * @api
135 135
      */
136  
-    public function remove($key)
  136
+    public function remove($name)
137 137
     {
138  
-        unset($this->parameters[strtolower($key)]);
  138
+        unset($this->parameters[strtolower($name)]);
139 139
     }
140 140
 
141 141
     /**

0 notes on commit 6d97523

Please sign in to comment.
Something went wrong with that request. Please try again.