@@ -166,7 +166,7 @@ |
||
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 | { |
@@ -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 | } |