Skip to content

Commit

Permalink
Merge pull request #40 from discoverygarden/D10-71
Browse files Browse the repository at this point in the history
D10-71: Sig matching.
  • Loading branch information
JojoVes authored Nov 16, 2023
2 parents 7281e71 + 46fff94 commit e13e957
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 e13e957

Please sign in to comment.