Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
HavokInspiration committed Sep 25, 2016
1 parent 9746eb5 commit d3bfdf2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Middleware/MaintenanceMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public function __construct($config = [])
$config = $this->_config['mode']['config'];
$middlewareConfig = !empty($config) ? $config : [];
$this->mode($className, $middlewareConfig);

return;
}

Expand Down
1 change: 1 addition & 0 deletions src/Mode/Output.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public function process(ServerRequestInterface $request, ResponseInterface $resp
$response = $response->withStatus($this->_config['code']);

$response = $this->addHeaders($response);

return $response;
}

Expand Down
1 change: 1 addition & 0 deletions src/Mode/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public function process(ServerRequestInterface $request, ResponseInterface $resp
$response = $response->withStatus($this->_config['code']);

$response = $this->addHeaders($response);

return $response;
}
}
1 change: 1 addition & 0 deletions tests/TestCase/Mode/CallbackTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public function testMaintenanceModeCallback()
$response = $response->withBody($stream);
$response = $response->withStatus(503);
$response = $response->withHeader('someHeader', 'someValue');

return $response;
}
]
Expand Down

0 comments on commit d3bfdf2

Please sign in to comment.