walkor 3 年之前
父節點
當前提交
e05f3a6ea5
共有 1 個文件被更改,包括 3 次插入2 次删除
  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 [