Completed
Pull Request — master (#52)
by
unknown
04:33 queued 01:58
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/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/Transfers.php 1 patch
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.