1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-29 07:50:05 +02:00

Tiny typo in TestHandler exception

This commit is contained in:
Harm van Tilborg
2016-05-06 10:48:17 +02:00
parent 6d9a76c164
commit 3dd221b319

View File

@@ -112,7 +112,7 @@ class TestHandler extends AbstractProcessingHandler
public function hasRecordThatPasses($predicate, $level)
{
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])) {