The class Shopware\Core\Content\Ne...ipientNotFoundException has been deprecated: tag:v6.6.0 - will be removed, use NewsletterException::recipientNotFound instead
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
21
return /** @scrutinizer ignore-deprecated */ new NewsletterRecipientNotFoundException($identifier, $value);
Loading history...
22
}
23
24
return new self(
25
Response::HTTP_BAD_REQUEST,
26
self::NEWSLETTER_RECIPIENT_NOT_FOUND_CODE,
27
'The NewsletterRecipient with the identifier "{{ identifier }}" - {{ value }} was not found.',