diff --git a/src/Client.php b/src/Client.php index f385220..8879ed6 100644 --- a/src/Client.php +++ b/src/Client.php @@ -569,9 +569,9 @@ protected function getCompareForIf(string $key, $compareValue): Compare /** * @param bool $returnNewValueOnFail * @param TxnResponse $response - * @return bool + * @return bool|string */ - protected function getIfResponse(bool $returnNewValueOnFail, TxnResponse $response): bool + protected function getIfResponse(bool $returnNewValueOnFail, TxnResponse $response) { if ($returnNewValueOnFail && !$response->getSucceeded()) { /** @var ResponseOp $responseOp */