Completed
Pull Request — master (#271)
by
unknown
03:12
created
src/Auth/Connect.php 1 patch
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.
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.
src/Resource/Account.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
     /**
356 356
      * Set birth date from account.
357 357
      *
358
-     * @param \DateTime|string $birthDate Date of birth of the credit card holder.
358
+     * @param string $birthDate Date of birth of the credit card holder.
359 359
      *
360 360
      * @return \Moip\Resource\Account
361 361
      */
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
      *
412 412
      * @param string $number Número do documento.
413 413
      * @param string $issuer Emissor do documento.
414
-     * @param $issueDate
414
+     * @param string $issueDate
415 415
      * @param string $type Tipo do documento. Valores possíveis: RG.
416 416
      *
417 417
      * @return Account
@@ -533,7 +533,7 @@  discard block
 block discarded – undo
533 533
     /**
534 534
      * Set company opening date.
535 535
      *
536
-     * @param \DateTime|string $openingDate .
536
+     * @param string $openingDate .
537 537
      *
538 538
      * @return $this
539 539
      */
@@ -566,8 +566,9 @@  discard block
 block discarded – undo
566 566
     /**
567 567
      * Set company tax document.
568 568
      *
569
-     * @param string $documentNumber .
570 569
      *
570
+     * @param string $cnae
571
+     * @param string $description
571 572
      * @return $this
572 573
      */
573 574
     public function setCompanyMainActivity($cnae, $description)
Please login to merge, or discard this patch.
src/Resource/Orders.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -446,7 +446,7 @@  discard block
 block discarded – undo
446 446
     /**
447 447
      * Create a new Orders list instance.
448 448
      *
449
-     * @return \Moip\Resource\OrdersList
449
+     * @return stdClass
450 450
      */
451 451
     public function getList(Pagination $pagination = null, Filters $filters = null, $qParam = '')
452 452
     {
@@ -484,7 +484,7 @@  discard block
 block discarded – undo
484 484
     /**
485 485
      * Set additional value to the item will be added to the value of the items.
486 486
      *
487
-     * @param int|float $value additional value to the item.
487
+     * @param integer $value additional value to the item.
488 488
      *
489 489
      * @return $this
490 490
      */
@@ -618,7 +618,7 @@  discard block
 block discarded – undo
618 618
     /**
619 619
      * Set installment settings for checkout preferences.
620 620
      *
621
-     * @param array $quantity
621
+     * @param integer[] $quantity
622 622
      * @param int   $discountValue
623 623
      * @param int   $additionalValue
624 624
      *
Please login to merge, or discard this patch.
tests/TestCase.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     /**
257 257
      * Creates a account.
258 258
      *
259
-     * @return Account
259
+     * @return \stdClass
260 260
      */
261 261
     public function createAccount()
262 262
     {
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
     /**
305 305
      * Creates a multiorder.
306 306
      *
307
-     * @return Multiorders
307
+     * @return \Moip\Resource\Multiorders
308 308
      */
309 309
     public function createMultiorder()
310 310
     {
Please login to merge, or discard this patch.
src/Resource/Entry.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     /**
77 77
      * Create a new Entries List instance.
78 78
      * 
79
-     * @return \Moip\Resource\EntriesList
79
+     * @return stdClass
80 80
      */
81 81
     public function getList()
82 82
     {
Please login to merge, or discard this patch.
src/Resource/MoipResource.php 1 patch
Doc Comments   +7 added lines, -6 removed lines patch added patch discarded remove patch
@@ -92,11 +92,11 @@  discard block
 block discarded – undo
92 92
     }
93 93
 
94 94
     /**
95
-     * @param $key
96
-     * @param $fmt
95
+     * @param string $key
96
+     * @param string $fmt
97 97
      * @param stdClass|null $data
98 98
      *
99
-     * @return bool|\DateTime|null
99
+     * @return \DateTime|null
100 100
      */
101 101
     protected function getIfSetDateFmt($key, $fmt, stdClass $data = null)
102 102
     {
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     /**
157 157
      * Generate URL to request.
158 158
      *
159
-     * @param $action
159
+     * @param string $action
160 160
      * @param $id
161 161
      *
162 162
      * @return string
@@ -266,6 +266,7 @@  discard block
 block discarded – undo
266 266
      *
267 267
      * @param string $path    resource path
268 268
      * @param array  $headers request headers
269
+     * @param boolean $accept
269 270
      *
270 271
      * @return stdClass
271 272
      */
@@ -323,9 +324,9 @@  discard block
 block discarded – undo
323 324
     /**
324 325
      * Delete a new item in Moip.
325 326
      *
326
-     * @param $path
327
+     * @param string $path
327 328
      *
328
-     * @return mixed
329
+     * @return stdClass
329 330
      */
330 331
     public function deleteByPath($path)
331 332
     {
Please login to merge, or discard this patch.