Passed
Push — master ( faa861...d7c7ec )
by Will
05:37
created
src/Service/AlmaApi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Security/User/AlmaUserProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
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));
Please login to merge, or discard this patch.