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
9
class PaymentEvent extends /** @scrutinizer ignore-deprecated */ Event
Loading history...
10
{
11
/**
12
* @var PaymentInterface
13
*/
14
private $payment;
15
16
public function getPayment(): ?PaymentInterface
17
{
18
return $this->payment;
19
}
20
21
public function setPayment(PaymentInterface $payment)