mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-21 16:46:11 +02:00
['foo' => 'bar'] array notation is not PHP 5.3 compatible.
This commit is contained in:
@@ -52,7 +52,7 @@ class UdpSocket
|
||||
$remaining = null;
|
||||
}
|
||||
|
||||
return [$chunk, $remaining];
|
||||
return array($chunk, $remaining);
|
||||
}
|
||||
|
||||
protected function shouldSplitLine($remaining, $header)
|
||||
|
@@ -71,7 +71,7 @@ class SyslogUdpHandler extends AbstractProcessingHandler
|
||||
|
||||
protected function write(array $record)
|
||||
{
|
||||
$this->_write(['message' => $record['formatted'], 'priority' => $record['level']]);
|
||||
$this->_write(array('message' => $record['formatted'], 'priority' => $record['level']));
|
||||
}
|
||||
|
||||
protected function _write($event)
|
||||
|
Reference in New Issue
Block a user