Skip to content

Commit

Permalink
Update TestLogger.php
Browse files Browse the repository at this point in the history
Also reset recordsByLevel array using reset() method
  • Loading branch information
ArturGoldyn authored Jun 17, 2019
1 parent c4421fc commit db36f22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Psr/Log/Test/TestLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,6 @@ public function __call($method, $args)
public function reset()
{
$this->records = [];
$this->recordsByLevel = [];
}
}

0 comments on commit db36f22

Please sign in to comment.