1
0
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:
Jordi Boggiano
2016-05-06 14:26:03 +02:00

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])) {