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: -
This commit is contained in:
commit
b12f32612d
@ -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) {
|
||||
|
Reference in New Issue
Block a user