Skip to content

Commit

Permalink
fix RobokassaApi::psr18Client PHP 8.2 psalm validation
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-netFantom committed Jul 21, 2023
1 parent c07769c commit a679009
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/RobokassaApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,9 @@ public function getPsr18Client(): RequestFactoryInterface&ClientInterface&Stream
}

$this->checkPsr18Client();
/** @var RequestFactoryInterface&ClientInterface&StreamFactoryInterface $this- >psr18Client */
return $this->psr18Client;
/** @var RequestFactoryInterface&ClientInterface&StreamFactoryInterface $psr18Client */
$psr18Client = $this->psr18Client;
return $psr18Client;
}

public function getBase64SignedPostData(SecondReceiptOptions|ReceiptStatusOptions $options): string
Expand Down

0 comments on commit a679009

Please sign in to comment.