Passed
Pull Request — master (#75)
by
unknown
02:20
created
src/Exception/ApiErrorException.php 2 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@  discard block
 block discarded – undo
10 10
 class ApiErrorException extends Exception
11 11
 {
12 12
 
13
-  /**
14
-   * @var object
15
-   */
13
+    /**
14
+     * @var object
15
+     */
16 16
     private $responseBody;
17 17
 
18 18
     /**
@@ -58,17 +58,17 @@  discard block
 block discarded – undo
58 58
         }
59 59
     }
60 60
 
61
-  /**
62
-   * @return object
63
-   */
64
-  public function getResponseBody() {
61
+    /**
62
+     * @return object
63
+     */
64
+    public function getResponseBody() {
65 65
     return $this->responseBody;
66
-  }
66
+    }
67 67
 
68
-  /**
69
-   * @param object $response_body
70
-   */
71
-  private function setResponseBody($response_body) {
68
+    /**
69
+     * @param object $response_body
70
+     */
71
+    private function setResponseBody($response_body) {
72 72
     $this->responseBody = $response_body;
73
-  }
73
+    }
74 74
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public function __toString()
38 38
     {
39
-        return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
39
+        return __CLASS__.": [{$this->code}]: {$this->message}\n";
40 40
     }
41 41
 
42 42
     /**
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         if (is_array($response_body->message) || is_object($response_body->message)) {
50 50
             $output = '';
51 51
             foreach ($response_body->message as $message) {
52
-                $output .= $message . PHP_EOL;
52
+                $output .= $message.PHP_EOL;
53 53
             }
54 54
             $this->message = $output;
55 55
         } else {
Please login to merge, or discard this patch.