Find a Rector rule

Find the best Rector rule to solve your problem. Searching through 1111 rules.

Found 1 rule. That's the one: Clear

symfony/notifier 1 match

Add AdminRecipientsProviderInterface to a notifier that declares getAdminRecipients()

 use Symfony\Component\Notifier\NotifierInterface;

-final class SomeNotifier implements NotifierInterface
+final class SomeNotifier implements NotifierInterface, \Symfony\Component\Notifier\AdminRecipientsProviderInterface
 {
     public function getAdminRecipients(): array
     {
         return [];
     }
 }