Completed
Pull Request — master (#173)
by
unknown
01:44
created
tests/Resource/CustomerTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,8 @@
 block discarded – undo
68 68
     }
69 69
 
70 70
     /**
71
-    * MoipTest create credit card for customer.
72
-    */
71
+     * MoipTest create credit card for customer.
72
+     */
73 73
     public function testCreateCreditCard() {
74 74
         $this->mockHttpSession($this->body_client);
75 75
         $customer = $this->createCustomer()->create();
Please login to merge, or discard this patch.
tests/TestCase.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -163,10 +163,10 @@
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-    * Method to read JSON from a file.
167
-    *
168
-    * @param string $filename location of file
169
-    */
166
+     * Method to read JSON from a file.
167
+     *
168
+     * @param string $filename location of file
169
+     */
170 170
     public function readJsonFile($filename)
171 171
     {
172 172
         return file_get_contents("$filename.json", FILE_USE_INCLUDE_PATH);
Please login to merge, or discard this patch.
src/Resource/CustomerCreditCard.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -259,8 +259,8 @@
 block discarded – undo
259 259
      *
260 260
      * @return boolean
261 261
      */
262
-     public function getStore()
263
-     {
264
-         return $this->data->creditCard->store;
265
-     }
262
+        public function getStore()
263
+        {
264
+            return $this->data->creditCard->store;
265
+        }
266 266
 }
Please login to merge, or discard this patch.
src/Resource/MoipResource.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -272,10 +272,10 @@
 block discarded – undo
272 272
      *
273 273
      * @return stdClass
274 274
      */
275
-     public function getByPathNoPopulate($path)
276
-     {
277
-         return $this->httpRequest($path, Requests::GET);                          
278
-     }
275
+        public function getByPathNoPopulate($path)
276
+        {
277
+            return $this->httpRequest($path, Requests::GET);                          
278
+        }
279 279
 
280 280
     /**
281 281
      * Create a new item in Moip.
Please login to merge, or discard this patch.
src/Resource/Account.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -138,8 +138,8 @@  discard block
 block discarded – undo
138 138
      *
139 139
      * @return stdClass
140 140
      */
141
-     public function checkAccountExists($tax_document)
142
-     {
141
+        public function checkAccountExists($tax_document)
142
+        {
143 143
         try {
144 144
             $this->getByPathNoPopulate(sprintf('/%s/%s/%s?tax_document=%s', MoipResource::VERSION, self::PATH, 'exists', $tax_document));
145 145
 
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
             }
151 151
         }
152 152
         return false;
153
-     }
153
+        }
154 154
 
155 155
     /**
156 156
      * Get account id.
Please login to merge, or discard this patch.