Skip to content

Commit

Permalink
D10-71: Sig matching.
Browse files Browse the repository at this point in the history
  • Loading branch information
willtp87 committed Nov 16, 2023
1 parent 7281e71 commit 46fff94
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Drupal\dgi_actions\Utility\IdentifierUtils;
use Drupal\dgi_actions_ezid\Utility\EzidTrait;
use GuzzleHttp\ClientInterface;
use GuzzleHttp\Psr7\Response;
use Psr\Http\Message\ResponseInterface;
use Psr\Log\LoggerInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;

Expand Down Expand Up @@ -95,7 +95,7 @@ protected function buildRequestBody(array $data): string {
/**
* {@inheritdoc}
*/
protected function getIdentifierFromResponse(Response $response): string {
protected function getIdentifierFromResponse(ResponseInterface $response): string {
$contents = $response->getBody()->getContents();
$response = $this->parseEzidResponse($contents);
if (array_key_exists('success', $response)) {
Expand Down

0 comments on commit 46fff94

Please sign in to comment.