mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-21 04:11:47 +02:00
Use fully-qualified name for native functions (#1887)
This commit is contained in:
@@ -68,7 +68,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';
|
||||
$subject = \count($records) > 0 ? 'Emergency' : 'Normal';
|
||||
return $expectedMessage->subject($subject);
|
||||
};
|
||||
$handler = new SymfonyMailerHandler($this->mailer, $callback);
|
||||
|
Reference in New Issue
Block a user