walkor преди 6 години
родител
ревизия
e21c3c403d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Worker.php

+ 1 - 1
Worker.php

@@ -2173,7 +2173,7 @@ class Worker
         if (static::$_OS === \OS_TYPE_LINUX  // if linux
             && \version_compare(\PHP_VERSION,'7.0.0', 'ge') // if php >= 7.0.0
             && \strtolower(\php_uname('s')) !== 'darwin' // if not Mac OS
-            && $this->transport != 'unix') { // if not unix socket
+            && $this->transport !== 'unix') { // if not unix socket
 
             $this->reusePort = true;
         }