Permalink
Browse files

cosmetics

  • Loading branch information...
1 parent 39f1b79 commit 4f219c0c8c4ad1e661b9c849dedecf46070a596a @lsmith77 lsmith77 committed Nov 21, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 Routing/Loader/RestRouteLoader.php
@@ -45,8 +45,8 @@ class RestRouteLoader extends Loader
public function __construct(ContainerInterface $container,
FileLocatorInterface $locator,
ControllerNameParser $controllerParser,
- RestControllerReader $controllerReader, $defaultFormat = 'html')
- {
+ RestControllerReader $controllerReader, $defaultFormat = 'html'
+ ) {
$this->container = $container;
$this->locator = $locator;
$this->controllerParser = $controllerParser;
@@ -95,7 +95,8 @@ public function supports($resource, $type = null)
{
return is_string($resource)
&& 'rest' === $type
- && !in_array(pathinfo($resource, PATHINFO_EXTENSION), array('xml', 'yml'));
+ && !in_array(pathinfo($resource, PATHINFO_EXTENSION), array('xml', 'yml')
+ );
}
/**

0 comments on commit 4f219c0

Please sign in to comment.