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

Commit 8b23862

Browse files
marvinrabespawnia
authored andcommitted
Use Facade instead of Alias (#29)
1 parent e4d9630 commit 8b23862

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/GraphQLPlaygroundServiceProvider.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace MLL\GraphQLPlayground;
66

7+
use Illuminate\Support\Facades\Route;
78
use Illuminate\Support\ServiceProvider;
89

910
class GraphQLPlaygroundServiceProvider extends ServiceProvider
@@ -32,10 +33,10 @@ public function boot()
3233
return;
3334
}
3435

35-
\Route::group(
36+
Route::group(
3637
config('graphql-playground.route'),
3738
function (): void {
38-
\Route::get(
39+
Route::get(
3940
config('graphql-playground.route_name', 'graphql-playground'),
4041
GraphQLPlaygroundController::class.'@get'
4142
)->name('graphql-playground');

0 commit comments

Comments
 (0)