@@ -34,7 +34,7 @@ |
||
34 | 34 | $url = str_replace($templateParamNames, $templateParamValues, $urlPath); |
35 | 35 | $defaultRequestParams = [ |
36 | 36 | 'headers' => [ |
37 | - 'Authorization' => 'apikey ' . getenv('API_KEY'), |
|
37 | + 'Authorization' => 'apikey '.getenv('API_KEY'), |
|
38 | 38 | ] |
39 | 39 | ]; |
40 | 40 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | $response = $this->api->getUserById($username); |
30 | 30 | return new AlmaUser($username, array('ROLE_USER'), $this->userData->getFullNameAsString($response)); |
31 | 31 | } catch (\GuzzleHttp\Exception\GuzzleException $e) { |
32 | - $this->logger->error($e->getCode() . $e->getMessage()); |
|
32 | + $this->logger->error($e->getCode().$e->getMessage()); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | throw new UsernameNotFoundException(sprintf('Username "%s" does not exist.', $username)); |