Skip to content

Commit 8a6a6a7

Browse files
authored
Fix Call to undefined function GuzzleHttp\Psr7\modify_request()
1 parent 1296815 commit 8a6a6a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Common/Auth/AuthHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace OpenStack\Common\Auth;
66

7-
use function GuzzleHttp\Psr7\modify_request;
7+
use GuzzleHttp\Psr7\Utils;
88
use Psr\Http\Message\RequestInterface;
99

1010
/**
@@ -53,7 +53,7 @@ public function __invoke(RequestInterface $request, array $options)
5353

5454
$modify = ['set_headers' => ['X-Auth-Token' => $this->token->getId()]];
5555

56-
return $fn(modify_request($request, $modify), $options);
56+
return $fn(Utils::modifyRequest($request, $modify), $options);
5757
}
5858

5959
/**

0 commit comments

Comments
 (0)