@@ -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 | } |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * |
| 67 | 67 | * @param string $moipAccount Id MoIP MoIP account that will receive payment values. |
| 68 | 68 | * @param string $type Define qual o tipo de recebedor do pagamento, valores possíveis: PRIMARY, SECONDARY. |
| 69 | - * @return int $fixed Initial value that the receiver will receive. |
|
| 69 | + * @return Orders $fixed Initial value that the receiver will receive. |
|
| 70 | 70 | */ |
| 71 | 71 | public function addReceiver($moipAccount, $type = Orders::RECEIVER_TYPE_PRIMARY, $fixed) |
| 72 | 72 | { |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | /** |
| 169 | 169 | * Create a new order in MoIP. |
| 170 | 170 | * |
| 171 | - * @return Orders |
|
| 171 | + * @return stdClass |
|
| 172 | 172 | */ |
| 173 | 173 | public function create() |
| 174 | 174 | { |