Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lanre Adelowo committed Jul 22, 2017
1 parent e495da9 commit d749d9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -240,14 +240,14 @@ class ApiPinger implements PluginInterface
$response = $this->adapter->getHttpClient()->get("https://api.homepage.com");

if ($response->getStatusCode() != 200 ) {
return true;
return false;
}

if ($shouldThrow) {
throw TransactionVerficationFailedException::createFromResponse($response);
}

return false;
return true;
}
}

Expand Down

0 comments on commit d749d9e

Please sign in to comment.