소스 검색

changed variable to be more descriptive

mtopolski 10 년 전
부모
커밋
1dbc4c3b51
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/Monolog/Processor/IntrospectionProcessor.php

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

@@ -30,18 +30,18 @@ class IntrospectionProcessor
 
 
     private $skipClassesPartials;
     private $skipClassesPartials;
 
 
-    private $extraStack;
+    private $skipStackFramesCount;
 
 
     private $skipFunctions = array(
     private $skipFunctions = array(
         'call_user_func',
         'call_user_func',
         'call_user_func_array',
         'call_user_func_array',
     );
     );
 
 
-    public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array(), $extraStack = 0)
+    public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array(), $skipStackFramesCount = 0)
     {
     {
         $this->level = Logger::toMonologLevel($level);
         $this->level = Logger::toMonologLevel($level);
         $this->skipClassesPartials = array_merge(array('Monolog\\'), $skipClassesPartials);
         $this->skipClassesPartials = array_merge(array('Monolog\\'), $skipClassesPartials);
-        $this->extraStack = $extraStack;
+        $this->skipStackFramesCount = $skipStackFramesCount;
     }
     }
 
 
     /**
     /**
@@ -80,7 +80,7 @@ class IntrospectionProcessor
             break;
             break;
         }
         }
 
 
-        $i += $this->extraStack;
+        $i += $this->skipStackFramesCount;
 
 
         // we should have the call source now
         // we should have the call source now
         $record['extra'] = array_merge(
         $record['extra'] = array_merge(