Kaynağa Gözat

Update README.md

walkor 10 yıl önce
ebeveyn
işleme
950329be57
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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";
 };