Upgrade Firefly III to PHP 7.2 and Laravel 5.7

This commit is contained in:
James Cole
2018-09-19 16:50:16 +02:00
parent 972721b183
commit e29e6c147c
5 changed files with 250 additions and 183 deletions

View File

@@ -68,7 +68,7 @@ class Authenticate
*/
public function handle($request, Closure $next, ...$guards)
{
$this->authenticate($guards);
$this->authenticate($request, $guards);
return $next($request);
}
@@ -86,7 +86,7 @@ class Authenticate
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*/
protected function authenticate(array $guards)
protected function authenticate($request, array $guards)
{
if (empty($guards)) {