From 0baa94f22fefb7d13a755ee9d16b7e806eaea20e Mon Sep 17 00:00:00 2001 From: Nil Portugues Caldero Date: Fri, 8 Jan 2016 15:19:37 +0100 Subject: [PATCH] Fixing break for Lumen integration --- .../Laravel5/JsonApi/Laravel5JsonApiServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NilPortugues/Laravel5/JsonApi/Laravel5JsonApiServiceProvider.php b/src/NilPortugues/Laravel5/JsonApi/Laravel5JsonApiServiceProvider.php index d326107..8938203 100644 --- a/src/NilPortugues/Laravel5/JsonApi/Laravel5JsonApiServiceProvider.php +++ b/src/NilPortugues/Laravel5/JsonApi/Laravel5JsonApiServiceProvider.php @@ -43,7 +43,7 @@ public function register() $this->mergeConfigFrom(__DIR__.self::PATH, 'jsonapi'); $version = '5.0.0'; - if (class_exists(self::LARAVEL_APPLICATION)) { + if (class_exists(self::LARAVEL_APPLICATION, true)) { $class = self::LARAVEL_APPLICATION; $version = $class::VERSION; }