mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-20 11:51:32 +02:00
Fix CS
This commit is contained in:
@@ -69,6 +69,7 @@ class SymfonyMailerHandlerTest extends TestCase
|
||||
// Callback dynamically changes subject based on number of logged records
|
||||
$callback = function ($content, array $records) use ($expectedMessage) {
|
||||
$subject = \count($records) > 0 ? 'Emergency' : 'Normal';
|
||||
|
||||
return $expectedMessage->subject($subject);
|
||||
};
|
||||
$handler = new SymfonyMailerHandler($this->mailer, $callback);
|
||||
|
Reference in New Issue
Block a user