Skip to content

Commit

Permalink
refactor: validator public key remove unused code (#1146)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarnsley authored Jan 17, 2025
1 parent 72e1090 commit fc87252
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,8 @@ public function validatorPublicKey(): ?string
return null;
}

/** @var array $methodData */
$methodData = $this->getMethodData();
// @codeCoverageIgnoreStart
// Not covered in tests, since having a null value depends on returning
// null on the rawPayload method which I was not able to mock
if ($methodData === null) {
return null;
}
// @codeCoverageIgnoreEnd

[2 => $arguments] = $methodData;

Expand Down

0 comments on commit fc87252

Please sign in to comment.