1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-25 10:36:33 +02:00

Fix some resettableinterface usages

This commit is contained in:
Jordi Boggiano
2018-11-04 19:58:13 +01:00
parent 36b767dc02
commit dddc7ed781
6 changed files with 23 additions and 10 deletions

View File

@@ -21,7 +21,7 @@ use Monolog\ResettableInterface;
* @author Jordi Boggiano <j.boggiano@seld.be>
* @author Christophe Coevoet <stof@notk.org>
*/
abstract class AbstractProcessingHandler extends AbstractHandler implements ProcessableHandlerInterface, FormattableHandlerInterface, ResettableInterface
abstract class AbstractProcessingHandler extends AbstractHandler implements ProcessableHandlerInterface, FormattableHandlerInterface
{
use ProcessableHandlerTrait;
use FormattableHandlerTrait;
@@ -53,7 +53,7 @@ abstract class AbstractProcessingHandler extends AbstractHandler implements Proc
public function reset()
{
$this->close();
parent::reset();
foreach ($this->processors as $processor) {
if ($processor instanceof ResettableInterface) {