Skip to content

Commit bcbdbe4

Browse files
committed
fix return type of getIfResponse
1 parent ac00093 commit bcbdbe4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,9 +569,9 @@ protected function getCompareForIf(string $key, $compareValue): Compare
569569
/**
570570
* @param bool $returnNewValueOnFail
571571
* @param TxnResponse $response
572-
* @return bool
572+
* @return bool|string
573573
*/
574-
protected function getIfResponse(bool $returnNewValueOnFail, TxnResponse $response): bool
574+
protected function getIfResponse(bool $returnNewValueOnFail, TxnResponse $response)
575575
{
576576
if ($returnNewValueOnFail && !$response->getSucceeded()) {
577577
/** @var ResponseOp $responseOp */

0 commit comments

Comments
 (0)