From 9617d17aca3092ae8207ac96292af3f541637480 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 8 Jan 2016 14:28:15 +0100 Subject: [PATCH] Updated app file after upgrading to laravel 5.2 --- bootstrap/app.php | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) mode change 100644 => 100755 bootstrap/app.php diff --git a/bootstrap/app.php b/bootstrap/app.php old mode 100644 new mode 100755 index 3eef0b49d7..ebd712abe1 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -11,9 +11,8 @@ | */ - $app = new Illuminate\Foundation\Application( - realpath(__DIR__ . '/../') + realpath(__DIR__.'/../') ); /* @@ -27,23 +26,21 @@ $app = new Illuminate\Foundation\Application( | */ - $app->singleton( - 'Illuminate\Contracts\Http\Kernel', - 'FireflyIII\Http\Kernel' + Illuminate\Contracts\Http\Kernel::class, + FireflyIII\Http\Kernel::class ); $app->singleton( - 'Illuminate\Contracts\Console\Kernel', - 'FireflyIII\Console\Kernel' + Illuminate\Contracts\Console\Kernel::class, + FireflyIII\Console\Kernel::class ); $app->singleton( - 'Illuminate\Contracts\Debug\ExceptionHandler', - 'FireflyIII\Exceptions\Handler' + Illuminate\Contracts\Debug\ExceptionHandler::class, + FireflyIII\Exceptions\Handler::class ); - /* |-------------------------------------------------------------------------- | Return The Application