1
0
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:
Jesper Skovgaard Nielsen
2013-10-31 10:59:51 +01:00
parent 359480a45c
commit 56e4610ab8
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ class UdpSocket
$remaining = null;
}
return [$chunk, $remaining];
return array($chunk, $remaining);
}
protected function shouldSplitLine($remaining, $header)

View File

@@ -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)