mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 09:06:10 +02:00
CS fixes
This commit is contained in:
@@ -81,7 +81,6 @@ class DeduplicationHandler extends BufferHandler
|
||||
|
||||
foreach ($this->buffer as $record) {
|
||||
if ($record['level'] >= $this->deduplicationLevel) {
|
||||
|
||||
$passthru = $passthru || !$this->isDuplicate($record);
|
||||
if ($passthru) {
|
||||
$this->appendRecord($record);
|
||||
@@ -139,7 +138,7 @@ class DeduplicationHandler extends BufferHandler
|
||||
|
||||
$handle = fopen($this->deduplicationStore, 'rw+');
|
||||
flock($handle, LOCK_EX);
|
||||
$validLogs = array();
|
||||
$validLogs = [];
|
||||
|
||||
$timestampValidity = time() - $this->time;
|
||||
|
||||
|
Reference in New Issue
Block a user