@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * Allow access, if the ip address is in the whitelist. |
| 18 | - * @param $ip |
|
| 18 | + * @param string $ip |
|
| 19 | 19 | * @return bool |
| 20 | 20 | */ |
| 21 | 21 | public function allowIP($ip) |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * Return JSON error message. |
| 33 | - * @param $message |
|
| 33 | + * @param string $message |
|
| 34 | 34 | * @return mixed |
| 35 | 35 | */ |
| 36 | 36 | public function responseError($message) |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * Return JSON success message. |
| 45 | - * @param $message |
|
| 45 | + * @param string $message |
|
| 46 | 46 | * @return mixed |
| 47 | 47 | */ |
| 48 | 48 | public function responseOK($message) |
@@ -54,8 +54,8 @@ discard block |
||
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | 56 | * Fill event details to pass the title and request params as array. |
| 57 | - * @param $event_type |
|
| 58 | - * @param $event_title |
|
| 57 | + * @param string $event_type |
|
| 58 | + * @param string $event_title |
|
| 59 | 59 | * @param Request $request |
| 60 | 60 | */ |
| 61 | 61 | public function eventFillAndSend($event_type, $event_title, Request $request) |
@@ -325,7 +325,7 @@ discard block |
||
| 325 | 325 | /** |
| 326 | 326 | * Call PaidOrderFilter if order not paid. |
| 327 | 327 | * @param Request $request |
| 328 | - * @param $order |
|
| 328 | + * @param boolean $order |
|
| 329 | 329 | * @return mixed |
| 330 | 330 | * @throws InvalidConfiguration |
| 331 | 331 | */ |