1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-24 01:56:18 +02:00
This commit is contained in:
Jordi Boggiano
2016-05-26 20:54:06 +01:00
parent 85e43a5e7b
commit f200e79879
115 changed files with 1138 additions and 1123 deletions

View File

@@ -23,7 +23,7 @@ abstract class MailHandler extends AbstractProcessingHandler
*/
public function handleBatch(array $records)
{
$messages = array();
$messages = [];
foreach ($records as $record) {
if ($record['level'] < $this->level) {
@@ -50,7 +50,7 @@ abstract class MailHandler extends AbstractProcessingHandler
*/
protected function write(array $record)
{
$this->send((string) $record['formatted'], array($record));
$this->send((string) $record['formatted'], [$record]);
}
protected function getHighestRecord(array $records)