Explorar el Código

Update README.md

walkor hace 10 años
padre
commit
950329be57
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -123,7 +123,7 @@ $tcp_worker->onMessage = function($connection, $data)
 };
 
 // Emitted when new connection come
-$tcp_worker->onClose($connection)
+$tcp_worker->onClose = function($connection)
 {
     echo "Connection closed\n";
 };