Naming adjusted for consistency
This commit is contained in:
parent
9a60bf1659
commit
a4ea1f6a4a
@ -1,6 +1,6 @@
|
||||
<?php namespace GermanAirlinesVa\Fleet\Classes;
|
||||
|
||||
use GermanAirlinesVa\Fleet\Models\Aircraft as Model;
|
||||
use GermanAirlinesVa\Fleet\Models\Aircraft;
|
||||
use Illuminate\Support\Str;
|
||||
use Illuminate\Http\Request;
|
||||
use GraphQL\Type\Definition\ResolveInfo;
|
||||
@ -8,7 +8,7 @@ use Nuwave\Lighthouse\Subscriptions\Subscriber;
|
||||
use Nuwave\Lighthouse\Schema\Types\GraphQLSubscription;
|
||||
use Nuwave\Lighthouse\Support\Contracts\GraphQLContext;
|
||||
|
||||
class Aircraft extends GraphQLSubscription
|
||||
class AircraftAdded extends GraphQLSubscription
|
||||
{
|
||||
/**
|
||||
* Check if subscriber is allowed to listen to the subscription.
|
||||
@ -68,7 +68,7 @@ class Aircraft extends GraphQLSubscription
|
||||
* @param \GraphQL\Type\Definition\ResolveInfo $resolveInfo
|
||||
* @return mixed
|
||||
*/
|
||||
public function resolve($root, array $args, GraphQLContext $context, ResolveInfo $resolveInfo): Model
|
||||
public function resolve($root, array $args, GraphQLContext $context, ResolveInfo $resolveInfo): Aircraft
|
||||
{
|
||||
return $root;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user