Skip to content

Commit c1f435d

Browse files
committed
Remove provides from ServiceProvider
I'm pretty sure this one is only used for deferred providers [1]. However we do more then just registered services, thus with the current Laravel architecture we can't make it deferred [1] https://laravel.com/docs/8.x/providers#deferred-providers
1 parent 1a4ebc6 commit c1f435d

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/GraphQLServiceProvider.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -155,17 +155,4 @@ public function registerConsole(): void
155155
$this->commands(TypeMakeCommand::class);
156156
$this->commands(UnionMakeCommand::class);
157157
}
158-
159-
/**
160-
* Get the services provided by the provider.
161-
*
162-
* @return array
163-
*/
164-
public function provides()
165-
{
166-
return [
167-
GraphQL::class,
168-
'graphql',
169-
];
170-
}
171158
}

0 commit comments

Comments
 (0)