Skip to content

Commit

Permalink
fix return type of getIfResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
matthi4s committed Sep 11, 2020
1 parent ac00093 commit bcbdbe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit bcbdbe4

Please sign in to comment.