walkor 11 年之前
父節點
當前提交
d41a987633
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      workerman/Core/Master.php

+ 1 - 1
workerman/Core/Master.php

@@ -927,7 +927,7 @@ class Master
      * @param string $worker_name
      * @return resource
      */
-    protected function getSocketContext($worker_name)
+    protected static function getSocketContext($worker_name)
     {
         $context = null;
         // 根据手册5.3.3之前版本stream_socket_server 不支持 backlog 选项