Completed
Push — master ( b94302...dcf0f2 )
by Jean C.
02:14
created
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.
src/Auth/Connect.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
     /**
419 419
      * Unique identifier of the application that will be carried out the request.
420 420
      *
421
-     * @return mixed
421
+     * @return string
422 422
      */
423 423
     public function getClientId()
424 424
     {
@@ -442,7 +442,7 @@  discard block
 block discarded – undo
442 442
     /**
443 443
      * Client Redirect URI.
444 444
      *
445
-     * @return mixed
445
+     * @return string
446 446
      */
447 447
     public function getRedirectUri()
448 448
     {
@@ -524,7 +524,7 @@  discard block
 block discarded – undo
524 524
     }
525 525
 
526 526
     /**
527
-     * @return mixed
527
+     * @return string
528 528
      */
529 529
     public function getClientSecret()
530 530
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -562,7 +562,7 @@
 block discarded – undo
562 562
      *
563 563
      * @param Requests_Hooks $hooks Hook system
564 564
      */
565
-    public function register(Requests_Hooks &$hooks)
565
+    public function register(Requests_Hooks & $hooks)
566 566
     {
567 567
         // TODO: Implement register() method.
568 568
     }
Please login to merge, or discard this patch.
src/Moip.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     /**
61 61
      * Create a new aurhentication with the endpoint.
62 62
      *
63
-     * @param \Moip\Auth\MoipAuthentication $moipAuthentication
63
+     * @param Authentication $moipAuthentication
64 64
      * @param string                        $endpoint
65 65
      */
66 66
     public function __construct(Authentication $moipAuthentication, $endpoint = self::ENDPOINT_PRODUCTION)
Please login to merge, or discard this patch.
tests/TestCase.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/Auth/BasicAuth.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/Auth/OAuth.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/MoipResource.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -90,11 +90,11 @@  discard block
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-     * @param $key
93
+     * @param string $key
94 94
      * @param $fmt
95 95
      * @param stdClass|null $data
96 96
      *
97
-     * @return bool|\DateTime|null
97
+     * @return \DateTime|null
98 98
      */
99 99
     protected function getIfSetDateFmt($key, $fmt, stdClass $data = null)
100 100
     {
@@ -220,9 +220,9 @@  discard block
 block discarded – undo
220 220
     /**
221 221
      * Delete a new item in Moip.
222 222
      *
223
-     * @param $path
223
+     * @param string $path
224 224
      *
225
-     * @return mixed
225
+     * @return stdClass
226 226
      */
227 227
     public function deleteByPath($path)
228 228
     {
Please login to merge, or discard this patch.