Forráskód Böngészése

[Routing] Fixing a coding standard violating I introduced.

Ryan Weaver 14 éve
szülő
commit
bd0d9dc1cb

+ 1 - 2
src/Symfony/Component/Routing/Matcher/Dumper/ApacheMatcherDumper.php

@@ -61,8 +61,7 @@ class ApacheMatcherDumper extends MatcherDumper
             $variables = implode(',', $variables);
 
             $conditions = array();
-            if ($req = $route->getRequirement('_method'))
-            {
+            if ($req = $route->getRequirement('_method')) {
                 $conditions[] = sprintf('RewriteCond %%{REQUEST_METHOD} ^(%s) [NC]', $req);
             }