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 选项