mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +02:00
Merge pull request #781 from hvt/patch-1
Tiny typo in TestHandler exception
This commit is contained in:
@@ -112,7 +112,7 @@ class TestHandler extends AbstractProcessingHandler
|
|||||||
public function hasRecordThatPasses($predicate, $level)
|
public function hasRecordThatPasses($predicate, $level)
|
||||||
{
|
{
|
||||||
if (!is_callable($predicate)) {
|
if (!is_callable($predicate)) {
|
||||||
throw new \InvalidArgumentException("Expected a callable for hasRecordThatSucceeds");
|
throw new \InvalidArgumentException("Expected a callable for hasRecordThatPasses");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($this->recordsByLevel[$level])) {
|
if (!isset($this->recordsByLevel[$level])) {
|
||||||
|
Reference in New Issue
Block a user