Browse Source

Make PHP5.3 compatible

Liam Le Brun 10 years ago
parent
commit
16c83796dd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Monolog/Processor/IntrospectionProcessor.php

+ 2 - 2
src/Monolog/Processor/IntrospectionProcessor.php

@@ -30,10 +30,10 @@ class IntrospectionProcessor
 
     private $skipClassesPartials;
 
-    public function __construct($level = Logger::DEBUG, array $skipClassesPartials = [])
+    public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array())
     {
         $this->level = Logger::toMonologLevel($level);
-        $this->skipClassesPartials = array_merge(array['Monolog\\'], $skipClassesPartials);
+        $this->skipClassesPartials = array_merge(array('Monolog\\'), $skipClassesPartials);
     }
 
     /**