Skip to content

Commit

Permalink
Fixing break for Lumen integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Nil Portugues Caldero committed Jan 8, 2016
1 parent 22ab726 commit 0baa94f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0baa94f

Please sign in to comment.