Completed
Pull Request — master (#97)
by
unknown
03:49
created
src/Resource/MoipResource.php 1 patch
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.
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.
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.
src/Resource/Account.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -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,7 +359,7 @@  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 $issueDate
362
+     * @param string $issueDate
363 363
      * @param string $type Tipo do documento. Valores possíveis: RG.
364 364
      *
365 365
      * @return Account
Please login to merge, or discard this patch.