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