Skip to content
This repository was archived by the owner on Feb 10, 2019. It is now read-only.

Commit 2914738

Browse files
TrescheletTreschelet
authored andcommitted
Fix Laravel 5.5 compability
1 parent c80b697 commit 2914738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Folklore/GraphQL/LumenServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class LumenServiceProvider extends ServiceProvider
99
*/
1010
protected function getRouter()
1111
{
12-
return $this->app;
12+
return property_exists($this->app, 'router') ? $this->app->router : $this->app;
1313
}
1414

1515
/**

0 commit comments

Comments
 (0)