Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | function updateOnMessage($email, $event) |
||
|
|||
27 | { |
||
28 | DebugBar::withDebugBar(function (\DebugBar\DebugBar $debugbar) use ($email) { |
||
29 | /** @var \LeKoala\DebugBar\Bridge\SymfonyMailer\SymfonyMailerCollector $mailerCollector */ |
||
30 | $mailerCollector = $debugbar->getCollector('symfonymailer_mails'); |
||
31 | $mailerCollector->add($email); |
||
32 | }); |
||
35 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.