From f17dfa38d5c6f1918b4baa26542b9c5a23ff16f3 Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 1 May 2024 18:25:46 +0300 Subject: [PATCH] filter ireplace values to string --- src/Server/Ratchet.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Server/Ratchet.php b/src/Server/Ratchet.php index a1757c6..d6a6f07 100644 --- a/src/Server/Ratchet.php +++ b/src/Server/Ratchet.php @@ -202,14 +202,14 @@ class Ratchet implements MessageComponentInterface { // Return success response $connection->send( - str_replace( + str_ireplace( [ '{name}', '{txid}' ], [ - $this->_config->kevacoin->wallet->namespace, - $txid + (string) $this->_config->kevacoin->wallet->namespace, + (string) $txid ], implode( PHP_EOL,