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 GraphQLOperationEvent extends /** @scrutinizer ignore-deprecated */ Event
Loading history...
18
{
19
/**
20
* @var ExecuteQuery
21
*/
22
protected $operation;
23
24
/**
25
* @var Endpoint
26
*/
27
protected $endpoint;
28
29
/**
30
* GraphQLOperationEvent constructor.
31
*
32
* @param ExecuteQuery $operation
33
* @param Endpoint $endpoint
34
*/
35
public function __construct(ExecuteQuery $operation, Endpoint $endpoint)