Completed
Push — master ( ac8e10...d5ebee )
by Jean C.
02:30
created
src/Resource/MoipResource.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@
 block discarded – undo
79 79
         }
80 80
     }
81 81
 
82
+    /**
83
+     * @param string $key
84
+     */
82 85
     protected function getIfSetDateFmt($key, $fmt, stdClass $data=null){
83 86
         $val = $this->getIfSet($key, $data);
84 87
         if (!empty($val)) {
Please login to merge, or discard this patch.
src/Resource/Orders.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
     /**
167 167
      * Create a new order in MoIP.
168 168
      *
169
-     * @return Orders
169
+     * @return stdClass
170 170
      */
171 171
     public function create()
172 172
     {
Please login to merge, or discard this patch.
src/MoipBasicAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      *
44 44
      * @param Requests_Hooks $hooks Hook system
45 45
      */
46
-    public function register(Requests_Hooks &$hooks)
46
+    public function register(Requests_Hooks & $hooks)
47 47
     {
48 48
         $hooks->register('requests.before_request', array(&$this, 'before_request'));
49 49
     }
Please login to merge, or discard this patch.
src/MoipOAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      *
44 44
      * @param Requests_Hooks $hooks Hook system
45 45
      */
46
-    public function register(Requests_Hooks &$hooks)
46
+    public function register(Requests_Hooks & $hooks)
47 47
     {
48 48
         $hooks->register('requests.before_request', array(&$this, 'before_request'));
49 49
     }
Please login to merge, or discard this patch.
src/Resource/Transfers.php 1 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.