From 504e7003e44023a1c277a75c3271047f6d33a9bd Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 20 Feb 2011 22:31:55 +0100 Subject: [PATCH] Adjusted method names --- src/Monolog/Handler/TestHandler.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Monolog/Handler/TestHandler.php b/src/Monolog/Handler/TestHandler.php index 5b865112..6d026b0d 100644 --- a/src/Monolog/Handler/TestHandler.php +++ b/src/Monolog/Handler/TestHandler.php @@ -50,22 +50,22 @@ class TestHandler extends AbstractHandler return $this->hasMessage($message, Logger::DEBUG); } - public function hasErrors() + public function hasErrorMessages() { return isset($this->messagesByLevel[Logger::ERROR]); } - public function hasWarnings() + public function hasWarningMessages() { return isset($this->messagesByLevel[Logger::WARNING]); } - public function hasInfos() + public function hasInfoMessages() { return isset($this->messagesByLevel[Logger::INFO]); } - public function hasDebugs() + public function hasDebugMessages() { return isset($this->messagesByLevel[Logger::DEBUG]); }