Remove short array syntax to keep backwards compatibility with php5.3

This commit is contained in:
Thomas Frei 2015-03-06 17:44:22 +01:00
commit 542d2a3545
3 changed files with 6 additions and 6 deletions

View file

@ -51,7 +51,7 @@ class Application extends b8\Application
return false;
};
$skipAuth = [$this, 'shouldSkipAuth'];
$skipAuth = array($this, 'shouldSkipAuth');
// Handler for the route we're about to register, checks for a valid session where necessary:
$routeHandler = function (&$route, Response &$response) use (&$request, $validateSession, $skipAuth) {