Passed
Push — master ( 96271a...c7c587 )
by Fran
04:20
created
src/base/Service.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     protected $cache;
55 55
 
56 56
     private function closeConnection() {
57
-        if(null !== $this->con) {
57
+        if (null !== $this->con) {
58 58
             curl_close($this->con);
59 59
         }
60 60
     }
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
         $this->url = NULL;
221 221
         $this->params = array();
222 222
         $this->headers = array();
223
-        Logger::log("Context service for " . get_called_class() . " cleared!");
223
+        Logger::log("Context service for ".get_called_class()." cleared!");
224 224
         $this->closeConnection();
225 225
     }
226 226
 
@@ -267,8 +267,8 @@  discard block
 block discarded – undo
267 267
 
268 268
     protected function applyHeaders() {
269 269
         $headers = [];
270
-        foreach($this->headers as $key => $value) {
271
-            $headers[] = $key . ': ' . $value;
270
+        foreach ($this->headers as $key => $value) {
271
+            $headers[] = $key.': '.$value;
272 272
         }
273 273
         curl_setopt($this->con, CURLOPT_HTTPHEADER, $headers);
274 274
     }
Please login to merge, or discard this patch.