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
12
final class ExecutorResultEvent extends /** @scrutinizer ignore-deprecated */ \Symfony\Component\EventDispatcher\Event
Loading history...
13
{
14
/** @var ExecutionResult */
15
private $result;
16
17
public function __construct(ExecutionResult $result)
18
{
19
$this->result = $result;
20
}
21
22
/**
23
* @return ExecutionResult
24
*/
25
public function getResult(): ExecutionResult
26
{
27
return $this->result;
28
}
29
}
30
} else {
31
final class ExecutorResultEvent extends Event
32
{
33
/** @var ExecutionResult */
34
private $result;
35
36
83
public function __construct(ExecutionResult $result)