Kaynağa Gözat

变更变量名

增强可读性
victorruan 9 yıl önce
ebeveyn
işleme
24e35989a9
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      Worker.php

+ 2 - 2
Worker.php

@@ -1313,8 +1313,8 @@ class Worker
         self::$_pidMap[$this->workerId]  = array();
 
         // Get autoload root path.
-        $backrace                = debug_backtrace();
-        $this->_autoloadRootPath = dirname($backrace[0]['file']);
+        $backtrace                = debug_backtrace();
+        $this->_autoloadRootPath = dirname($backtrace[0]['file']);
 
         // Context for socket.
         if ($socket_name) {