@@ -74,6 +74,9 @@ |
||
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); |
@@ -37,7 +37,7 @@ |
||
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 | } |
@@ -37,7 +37,7 @@ |
||
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 | } |
@@ -144,7 +144,7 @@ |
||
144 | 144 | /** |
145 | 145 | * Creates a account. |
146 | 146 | * |
147 | - * @return Account |
|
147 | + * @return \stdClass |
|
148 | 148 | */ |
149 | 149 | public function createAccount() |
150 | 150 | { |
@@ -289,8 +289,8 @@ discard block |
||
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 |
||
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 |
||
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 |