Explorar o código

Update README.md

walkor %!s(int64=10) %!d(string=hai) anos
pai
achega
950329be57
Modificáronse 1 ficheiros con 1 adicións e 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";
 };