The class Symfony\Component\EventDispatcher\Event has been deprecated: since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
17
class GraphQLMutationEvent extends /** @scrutinizer ignore-deprecated */ Event
Loading history...
18
{
19
/**
20
* @var ResolverContext
21
*/
22
protected $context;
23
24
/**
25
* @var FormEvent
26
*/
27
protected $formEvent;
28
29
/**
30
* @var mixed
31
*/
32
protected $payload;
33
34
/**
35
* GraphQLMutationEvent constructor.
36
*
37
* @param ResolverContext $context
38
* @param FormEvent $formEvent
39
*/
40
public function __construct(ResolverContext $context, FormEvent $formEvent)