Completed
Push — master ( 0745a7...5ee26e )
by Jean C.
02:38
created
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/Resource/MoipResource.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@
 block discarded – undo
74 74
         }
75 75
     }
76 76
 
77
+    /**
78
+     * @param string $key
79
+     */
77 80
     protected function getIfSetDateFmt($key, $fmt, stdClass $data = null)
78 81
     {
79 82
         $val = $this->getIfSet($key, $data);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use JsonSerializable;
6 6
 use Moip\Exceptions;
7
-use Moip\Links;
8 7
 use Moip\Moip;
9 8
 use Requests;
10 9
 use Requests_Exception;
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
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      *
38 38
      * @param \Requests_Hooks $hooks Hook system
39 39
      */
40
-    public function register(Requests_Hooks &$hooks)
40
+    public function register(Requests_Hooks & $hooks)
41 41
     {
42 42
         $hooks->register('requests.before_request', [&$this, 'before_request']);
43 43
     }
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
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      *
38 38
      * @param \Requests_Hooks $hooks Hook system
39 39
      */
40
-    public function register(Requests_Hooks &$hooks)
40
+    public function register(Requests_Hooks & $hooks)
41 41
     {
42 42
         $hooks->register('requests.before_request', [&$this, 'before_request']);
43 43
     }
Please login to merge, or discard this patch.
src/Resource/Account.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      *
101 101
      * @param string $moip_id
102 102
      *
103
-     * @return \Moip\Resource\Account
103
+     * @return stdClass
104 104
      */
105 105
     public function get($moip_id)
106 106
     {
@@ -289,8 +289,8 @@  discard block
 block discarded – undo
289 289
     /**
290 290
      * Set name from account.
291 291
      *
292
-     * @param string $name Account's person name.
293 292
      *
293
+     * @param string $lastname
294 294
      * @return \Moip\Resource\Account
295 295
      */
296 296
     public function setLastName($lastname)
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
     /**
304 304
      * Set birth date from account.
305 305
      *
306
-     * @param \DateTime|string $birthDate Date of birth of the credit card holder.
306
+     * @param string $birthDate Date of birth of the credit card holder.
307 307
      *
308 308
      * @return \Moip\Resource\Account
309 309
      */
@@ -359,8 +359,8 @@  discard block
 block discarded – undo
359 359
      *
360 360
      * @param string           $number    Número do documento.
361 361
      * @param string           $issuer    Emissor do documento.
362
-     * @param \DateTime|string $birthDate $issueDate 	Data de emissão do documento.
363 362
      * @param string           $type      Tipo do documento. Valores possíveis: RG.
363
+     * @param string $issueDate
364 364
      *
365 365
      * @return \Moip\Resource\Account
366 366
      */
Please login to merge, or discard this patch.
tests/MoipTestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
     /**
145 145
      * Creates a account.
146 146
      *
147
-     * @return Account
147
+     * @return \stdClass
148 148
      */
149 149
     public function createAccount()
150 150
     {
Please login to merge, or discard this patch.