fix code sniff violations.
This commit is contained in:
parent
bb76952e6a
commit
b421b20935
4 changed files with 9 additions and 12 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue