diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-06-11 00:57:00 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-06-11 00:57:00 +0200 |
commit | 0252d39bb6b1e659b03840c5a1a599d90a92c291 (patch) | |
tree | df8101bd65127409c10129cd997bb59239021261 | |
parent | 1002281dae6650684ba06d21abeba8ff8ba070d9 (diff) | |
download | nextcloud-server-0252d39bb6b1e659b03840c5a1a599d90a92c291.tar.gz nextcloud-server-0252d39bb6b1e659b03840c5a1a599d90a92c291.zip |
fix indention
-rw-r--r-- | lib/private/appframework/http/dispatcher.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/private/appframework/http/dispatcher.php b/lib/private/appframework/http/dispatcher.php index c5ec345489a..fa8d3c47a8b 100644 --- a/lib/private/appframework/http/dispatcher.php +++ b/lib/private/appframework/http/dispatcher.php @@ -52,9 +52,9 @@ class Dispatcher { * @param IRequest $request the incoming request */ public function __construct(Http $protocol, - MiddlewareDispatcher $middlewareDispatcher, - ControllerMethodReflector $reflector, - IRequest $request) { + MiddlewareDispatcher $middlewareDispatcher, + ControllerMethodReflector $reflector, + IRequest $request) { $this->protocol = $protocol; $this->middlewareDispatcher = $middlewareDispatcher; $this->reflector = $reflector; @@ -162,9 +162,9 @@ class Dispatcher { // if none is given try the first Accept header if($format === null) { - $headers = $this->request->getHeader('Accept'); - $format = $controller->getResponderByHTTPHeader($headers); - } + $headers = $this->request->getHeader('Accept'); + $format = $controller->getResponderByHTTPHeader($headers); + } $response = $controller->buildResponse($response, $format); } |