Skip to content

Commit

Permalink
remove not supported in php7.0 void return type from ScramSha256
Browse files Browse the repository at this point in the history
  • Loading branch information
zwirek committed Aug 21, 2023
1 parent 574faa9 commit ef19cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PgAsync/ScramSha256.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function getClientProof(): string
return $clientKey ^ $clientSignature;
}

private function checkStage(int $stage): void
private function checkStage(int $stage)
{
if ($this->currentStage < $stage) {
throw new \LogicException('Invalid Stage of SCRAM authorization');
Expand Down

0 comments on commit ef19cc3

Please sign in to comment.