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
16
class GraphQLFieldEvent extends /** @scrutinizer ignore-deprecated */ Event
Loading history...
17
{
18
/**
19
* @var ResolverContext
20
*/
21
protected $context;
22
23
/**
24
* @var mixed|null
25
*/
26
protected $value;
27
28
/**
29
* GraphQLFieldEvent constructor.
30
*
31
* @param ResolverContext $context
32
* @param mixed|null $value
33
*/
34
2
public function __construct(ResolverContext $context, $value = null)