walkor 3 жил өмнө
parent
commit
e05f3a6ea5

+ 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 [