Test Failed
Push — master ( edca11...47e2d3 )
by Evert
03:52
created
src/VeloClient.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
         $access_token = json_decode($response->getBody()->getContents())->access_token;
46 46
         
47
-        if(!empty($access_token)) {
47
+        if (!empty($access_token)) {
48 48
             return $access_token;
49 49
         }
50 50
         
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     private function prepareUri($resource) : string
71 71
     {
72
-        $uri = $this->api_url . '/' . $resource . $this->apiResponseFormat;
72
+        $uri = $this->api_url.'/'.$resource.$this->apiResponseFormat;
73 73
 
74 74
         return $uri;
75 75
     }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     {
84 84
         $response = $this->guzzleClient->get($this->prepareUri('stations'), [
85 85
             'headers' => [
86
-                'Authorization' => 'Bearer ' . $this->getAccessToken(),
86
+                'Authorization' => 'Bearer '.$this->getAccessToken(),
87 87
             ]
88 88
         ]);
89 89
         
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     {
108 108
         $response = $this->guzzleClient->get($this->prepareUri('stations/status'), [
109 109
             'headers' => [
110
-                'Authorization' => 'Bearer ' . $this->getAccessToken(),
110
+                'Authorization' => 'Bearer '.$this->getAccessToken(),
111 111
             ]
112 112
         ]);
113 113
             
Please login to merge, or discard this patch.