Ver código fonte

Improve php7 compat (Throwable is the new base type for all exceptions, so Exception is not wide enough)

Jordi Boggiano 10 anos atrás
pai
commit
b941eac988
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/Monolog/ErrorHandler.php

+ 1 - 1
src/Monolog/ErrorHandler.php

@@ -119,7 +119,7 @@ class ErrorHandler
     /**
      * @private
      */
-    public function handleException(\Exception $e)
+    public function handleException($e)
     {
         $this->logger->log(
             $this->uncaughtExceptionLevel === null ? LogLevel::ERROR : $this->uncaughtExceptionLevel,