|
@@ -35,7 +35,7 @@ |
|
|
block discarded – undo |
|
35
|
35
|
|
|
36
|
36
|
public function __invoke(callable $handler) |
|
37
|
37
|
{ |
|
38
|
|
- return function (RequestInterface $request, array $options) use ($handler) { |
|
|
38
|
+ return function(RequestInterface $request, array $options) use ($handler) { |
|
39
|
39
|
$encodedAuth = base64_encode($this->authenticationService->getUsername().':'.$this->authenticationService->getHash()); |
|
40
|
40
|
$request = $request->withHeader('Authorization', 'Basic '.$encodedAuth); |
|
41
|
41
|
|
Please login to merge, or discard this patch.