Completed
Push — master ( 712fe4...90c568 )
by Mike
02:13
created
src/Response/Abstracts/AbstractResponse.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,30 +4,30 @@
 block discarded – undo
4 4
 
5 5
 use SugarAPI\SDK\Response\Interfaces\ResponseInterface;
6 6
 
7
-abstract class AbstractResponse implements ResponseInterface{
7
+abstract class AbstractResponse implements ResponseInterface {
8 8
 
9 9
     protected $headers;
10 10
     protected $body;
11 11
     protected $status;
12 12
 
13
-    public function __construct($curlResponse,$curlRequest){
14
-        $header_size = curl_getinfo($curlRequest,CURLINFO_HEADER_SIZE);
13
+    public function __construct($curlResponse, $curlRequest) {
14
+        $header_size = curl_getinfo($curlRequest, CURLINFO_HEADER_SIZE);
15 15
         $this->headers = substr($curlResponse, 0, $header_size);
16 16
         $this->body = json_decode(substr($curlResponse, $header_size));
17
-        $this->status = curl_getinfo($curlRequest,CURLINFO_HTTP_CODE);
17
+        $this->status = curl_getinfo($curlRequest, CURLINFO_HTTP_CODE);
18 18
     }
19 19
 
20 20
     /**
21 21
      * @inheritdoc
22 22
      */
23
-    public function json(){
23
+    public function json() {
24 24
         return json_encode($this->body);
25 25
     }
26 26
 
27 27
     /**
28 28
      * @inheritdoc
29 29
      */
30
-    public function getStatus(){
30
+    public function getStatus() {
31 31
         return $this->status;
32 32
     }
33 33
 
Please login to merge, or discard this patch.