Remove short array syntax to keep backwards compatibility with php5.3
This commit is contained in:
parent
945524c520
commit
542d2a3545
3 changed files with 6 additions and 6 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue