mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-23 01:26:11 +02:00
More testing coverage
This commit is contained in:
@@ -81,6 +81,9 @@ abstract class AbstractHandler implements HandlerInterface
|
||||
*/
|
||||
public function popProcessor()
|
||||
{
|
||||
if (!$this->processors) {
|
||||
throw new \LogicException('You tried to pop from an empty processor stack.');
|
||||
}
|
||||
return array_shift($this->processors);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user