Skip to content

Commit

Permalink
style(php): fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thislg committed Jun 27, 2024
1 parent b90189d commit ff9788e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,6 @@ private function checkOriginIpAddress(GetHttpRequest $httpRequest)
return \in_array($httpRequest->clientIp, self::PAYBOX_IP_ADDRESSES, true);
}

/**
* @return bool
*/
private function checkPayboxSignature(GetHttpRequest $httpRequest): bool
{
if (false === isset($httpRequest->query['signature'])) {
Expand Down
3 changes: 1 addition & 2 deletions tests/Action/NotifyActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ public function testShouldImplementLoggerAwareInterface()
}

/**
* @test
* @covers \Marem\PayumPaybox\Action\NotifyAction::setApi
*/
public function throwIfUnsupportedApiGiven()
public function testThrowIfUnsupportedApiGiven()
{
$this->expectException(UnsupportedApiException::class);
$action = new NotifyAction();
Expand Down

0 comments on commit ff9788e

Please sign in to comment.