Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CS fixes

  • Loading branch information...
commit 2302cd429714db4bd5426275afa7fd171689271b 1 parent 09f5ca8
@lsmith77 lsmith77 authored
View
2  Document/RedirectRoute.php
@@ -164,7 +164,7 @@ public function getParameters()
if ($this->parameterKeys !== null) {
$i = 0;
- foreach($this->parameterKeys as $key) {
+ foreach ($this->parameterKeys as $key) {
$parameters[$key] = $this->parameter[$i];
}
}
View
2  Resolver/ControllerClassResolver.php
@@ -44,7 +44,7 @@ public function getController(RouteObjectInterface $document, array &$defaults)
// we need to loop over the array in case the content class extends the
// specified class
// i.e. phpcr-odm generates proxy class for the content.
- foreach($this->controllersByClass as $class => $controller) {
+ foreach ($this->controllersByClass as $class => $controller) {
if ($content instanceof $class) {
return $controller;
}
View
2  Resolver/TemplateClassResolver.php
@@ -62,7 +62,7 @@ public function getController(RouteObjectInterface $document, array &$defaults)
// we need to loop over the array in case the content class extends the
// specified class
// i.e. phpcr-odm generates proxy class for the content.
- foreach($this->templatesByClass as $class => $t) {
+ foreach ($this->templatesByClass as $class => $t) {
if ($content instanceof $class) {
$template = $t;
break;
Please sign in to comment.
Something went wrong with that request. Please try again.