@@ -194,7 +194,7 @@ |
||
| 194 | 194 | $this->clientCredentials = new HmacAuthMiddleware( |
| 195 | 195 | new Key($credentials['api_key'], $credentials['api_secret']), |
| 196 | 196 | $this->getRealm(), |
| 197 | - $this->getServiceApiHeader() ? [$this->getServiceApiHeader()]: null |
|
| 197 | + $this->getServiceApiHeader() ? [$this->getServiceApiHeader()] : null |
|
| 198 | 198 | ); |
| 199 | 199 | } |
| 200 | 200 | return $this; |
@@ -348,8 +348,7 @@ |
||
| 348 | 348 | |
| 349 | 349 | try { |
| 350 | 350 | return $authenticator->authenticate($psr7_request); |
| 351 | - } |
|
| 352 | - catch (KeyNotFoundException $exception) { |
|
| 351 | + } catch (KeyNotFoundException $exception) { |
|
| 353 | 352 | $this->loggerFactory |
| 354 | 353 | ->get('acquia_contenthub') |
| 355 | 354 | ->debug('HMAC validation failed. [authorization_header = %authorization_header]', [ |