Parcourir la source

[fix] change private vars to protected

Ramil Valitov il y a 7 ans
Parent
commit
e11012dfde
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/Monolog/Handler/RavenHandler.php

+ 2 - 2
src/Monolog/Handler/RavenHandler.php

@@ -27,7 +27,7 @@ class RavenHandler extends AbstractProcessingHandler
     /**
     /**
      * Translates Monolog log levels to Raven log levels.
      * Translates Monolog log levels to Raven log levels.
      */
      */
-    private $logLevels = array(
+    protected $logLevels = array(
         Logger::DEBUG     => Raven_Client::DEBUG,
         Logger::DEBUG     => Raven_Client::DEBUG,
         Logger::INFO      => Raven_Client::INFO,
         Logger::INFO      => Raven_Client::INFO,
         Logger::NOTICE    => Raven_Client::INFO,
         Logger::NOTICE    => Raven_Client::INFO,
@@ -42,7 +42,7 @@ class RavenHandler extends AbstractProcessingHandler
      * @var string should represent the current version of the calling
      * @var string should represent the current version of the calling
      *             software. Can be any string (git commit, version number)
      *             software. Can be any string (git commit, version number)
      */
      */
-    private $release;
+    protected $release;
 
 
     /**
     /**
      * @var Raven_Client the client object that sends the message to the server
      * @var Raven_Client the client object that sends the message to the server