fix code sniff violations.

This commit is contained in:
steve.brazier 2014-02-26 14:35:14 +00:00
commit b421b20935
4 changed files with 9 additions and 12 deletions

View file

@ -27,8 +27,7 @@ class Application extends b8\Application
$opts = ['controller' => 'Home', 'action' => 'index'];
$this->router->clearRoutes();
$this->router->register($route, $opts, function (&$route, Response &$response) use (&$request)
{
$this->router->register($route, $opts, function (&$route, Response &$response) use (&$request) {
$skipValidation = in_array($route['controller'], array('session', 'webhook', 'build-status'));
if (!$skipValidation && !$this->validateSession()) {