walkor 3 năm trước cách đây
mục cha
commit
e05f3a6ea5
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  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()
     public function jsonSerialize()
     {        
     {        
         return [
         return [