1 | <?php |
||
11 | class SwiftMailerBasedMailer implements MailerInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var \Swift_Mailer |
||
15 | */ |
||
16 | protected $internalMailer; |
||
17 | |||
18 | /** |
||
19 | * Mailer constructor. |
||
20 | * |
||
21 | * @param \Swift_Mailer $internalMailer |
||
22 | */ |
||
23 | public function __construct(\Swift_Mailer $internalMailer) |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function sendEmail(Email $content): void |
||
62 | } |
||
63 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.