Переглянути джерело

merged branch hhamon/http_foundation_cs (PR #3980)

Commits
-------

64a0abe [HttpFoundation] fixed CS in ParameterBag class.

Discussion
----------

[HttpFoundation] fixed CS in ParameterBag class.

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
Fabien Potencier 13 роки тому
батько
коміт
b12f32612d

+ 1 - 1
src/Symfony/Component/HttpFoundation/ParameterBag.php

@@ -104,7 +104,7 @@ class ParameterBag
 
         $value = $this->parameters[$root];
         $currentKey = null;
-        for ($i=$pos,$c=strlen($path); $i<$c; $i++) {
+        for ($i = $pos, $c = strlen($path); $i < $c; $i++) {
             $char = $path[$i];
 
             if ('[' === $char) {