walkor 3 yıl önce
ebeveyn
işleme
e05f3a6ea5
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      src/Connection/TcpConnection.php

+ 3 - 2
src/Connection/TcpConnection.php

@@ -971,10 +971,11 @@ class TcpConnection extends ConnectionInterface implements \JsonSerializable
     }
     
     /**
-     * Get the json_encode informattion.
+     * Get the json_encode information.
      *
-     * @return string
+     * @return mixed
      */
+    #[\ReturnTypeWillChange]
     public function jsonSerialize()
     {        
         return [