Completed
Pull Request — master (#72)
by
unknown
02:36
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 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.
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   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -62,13 +62,13 @@  discard block
 block discarded – undo
62 62
      * Add a new address to the account.
63 63
      *
64 64
      * @param string $street                Street address.
65
-     * @param string $number_format(number) Number address.
66 65
      * @param string $district              Neighborhood address.
67 66
      * @param string $city                  City address.
68 67
      * @param string $state                 State address.
69 68
      * @param string $zip                   The zip code billing address.
70 69
      * @param string $complement            Address complement.
71 70
      * @param string $country               Country ISO-alpha3 format, BRA example.
71
+     * @param string $number
72 72
      *
73 73
      * @return $this
74 74
      */
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      *
109 109
      * @param string $moip_id
110 110
      *
111
-     * @return \Moip\Resource\Account
111
+     * @return stdClass
112 112
      */
113 113
     public function get($moip_id)
114 114
     {
@@ -434,8 +434,8 @@  discard block
 block discarded – undo
434 434
     /**
435 435
      * Set last name from account.
436 436
      *
437
-     * @param string $name Account's person last name.
438 437
      *
438
+     * @param string $lastname
439 439
      * @return \Moip\Resource\Account
440 440
      */
441 441
     public function setLastName($lastname)
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
     /**
449 449
      * Set birth date from account.
450 450
      *
451
-     * @param \DateTime|string $birthDate Date of birth of the credit card holder.
451
+     * @param string $birthDate Date of birth of the credit card holder.
452 452
      *
453 453
      * @return \Moip\Resource\Account
454 454
      */
@@ -504,8 +504,8 @@  discard block
 block discarded – undo
504 504
      *
505 505
      * @param string           $number    Número do documento.
506 506
      * @param string           $issuer    Emissor do documento.
507
-     * @param \DateTime|string $birthDate $issueDate 	Data de emissão do documento.
508 507
      * @param string           $type      Tipo do documento. Valores possíveis: RG.
508
+     * @param string $issueDate
509 509
      *
510 510
      * @return \Moip\Resource\Account
511 511
      */
Please login to merge, or discard this patch.