@@ -122,7 +122,7 @@ |
||
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | /** |
| 125 | - * @param $path |
|
| 125 | + * @param string $path |
|
| 126 | 126 | * |
| 127 | 127 | * @return \Psr\Http\Message\UriInterface |
| 128 | 128 | */ |
@@ -182,7 +182,7 @@ |
||
| 182 | 182 | // Send async request. |
| 183 | 183 | $response = $client->sendAsyncRequest($request)->wait(); |
| 184 | 184 | } else { |
| 185 | - throw new \LogicException('Unknown HTTP Client type: '. implode(',', class_implements($client))); |
|
| 185 | + throw new \LogicException('Unknown HTTP Client type: ' . implode(',', class_implements($client))); |
|
| 186 | 186 | } |
| 187 | 187 | |
| 188 | 188 | return $response; |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | parent::__construct($vipps, $subscription_key); |
| 24 | 24 | $this->headers['Authorization'] = |
| 25 | 25 | $this->app->getClient()->getTokenStorage()->get()->getTokenType() |
| 26 | - .' '. |
|
| 26 | + .' ' . |
|
| 27 | 27 | $this->app->getClient()->getTokenStorage()->get()->getAccessToken(); |
| 28 | 28 | } |
| 29 | 29 | } |