Skip to content

Commit db36f22

Browse files
authored
Update TestLogger.php
Also reset recordsByLevel array using reset() method
1 parent c4421fc commit db36f22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Psr/Log/Test/TestLogger.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,6 @@ public function __call($method, $args)
142142
public function reset()
143143
{
144144
$this->records = [];
145+
$this->recordsByLevel = [];
145146
}
146147
}

0 commit comments

Comments
 (0)