This is not a static function

This commit is contained in:
James Cole
2019-09-06 17:19:03 +02:00
parent 1a583c771b
commit e9782a701f

View File

@@ -49,7 +49,7 @@ class BalanceController extends Controller
parent::__construct();
$this->middleware(
static function ($request, $next) {
function ($request, $next) {
$this->repository = app(BudgetRepositoryInterface::class);
return $next($request);