Completed
Pull Request — master (#53)
by
unknown
04:05
created
src/Moip.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
      * @return \Moip\Resource\Transfers
166 166
      */
167 167
 
168
-     public function transfers()
168
+        public function transfers()
169 169
     {
170 170
         return new transfers($this);
171 171
     }
Please login to merge, or discard this patch.
src/Resource/Payment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -339,7 +339,7 @@
 block discarded – undo
339 339
      * @return $this
340 340
      */
341 341
 
342
-    public function setDelayCapture(){
342
+    public function setDelayCapture() {
343 343
       
344 344
         
345 345
         $this->data->delayCapture = true;
Please login to merge, or discard this patch.
src/Resource/Transfers.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         $this->data = new stdClass();
27 27
     }
28 28
 
29
-     protected function populate(stdClass $response)
29
+        protected function populate(stdClass $response)
30 30
     {
31 31
         $transfers = clone $this;
32 32
         
@@ -69,11 +69,11 @@  discard block
 block discarded – undo
69 69
         return $this->populate($response);
70 70
     }
71 71
 
72
-     /**
73
-     * Get MoIP Transfers id.
74
-     * 
75
-     * @return strign
76
-     */
72
+        /**
73
+         * Get MoIP Transfers id.
74
+         * 
75
+         * @return strign
76
+         */
77 77
     public function getId()
78 78
     {
79 79
         return $this->getIfSet('id');
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,8 +36,8 @@  discard block
 block discarded – undo
36 36
     public function setTransfers($amount, $bankNumber, $agencyNumber, $agencyCheckNumber, $accountNumber, $accountCheckNumber) {
37 37
         $this->data->amount = $amount;
38 38
         $this->data->transferInstrument = new stdClass();
39
-        $this->data->transferInstrument->method =  self::METHOD;
40
-        $this->data->transferInstrument->bankAccount  = new stdClass();
39
+        $this->data->transferInstrument->method = self::METHOD;
40
+        $this->data->transferInstrument->bankAccount = new stdClass();
41 41
         #$this->data->initialize();
42 42
         $this->data->transferInstrument->bankAccount->type = self::TYPE;
43 43
         $this->data->transferInstrument->bankAccount->bankNumber = $bankNumber;
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         return $this; 
49 49
     }
50 50
 
51
-    public function setHolder($fullname, $taxDocument){
51
+    public function setHolder($fullname, $taxDocument) {
52 52
 
53 53
         $this->data->transferInstrument->bankAccount->holder = new stdClass();
54 54
         $this->data->transferInstrument->bankAccount->holder->fullname = $fullname;
Please login to merge, or discard this patch.