@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | * Allow access, if the ip address is in the whitelist. |
| 19 | - * @param $ip |
|
| 19 | + * @param string $ip |
|
| 20 | 20 | * @return bool |
| 21 | 21 | */ |
| 22 | 22 | public function allowIP($ip) |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * Return JSON error message |
| 34 | - * @param $message |
|
| 34 | + * @param string $message |
|
| 35 | 35 | * @return mixed |
| 36 | 36 | */ |
| 37 | 37 | public function responseError($message) |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * Return JSON success message |
| 46 | - * @param $message |
|
| 46 | + * @param string $message |
|
| 47 | 47 | * @return mixed |
| 48 | 48 | */ |
| 49 | 49 | public function responseOK($message) |
@@ -55,8 +55,8 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * Fill event details to pass the title and request params as array. |
| 58 | - * @param $event_type |
|
| 59 | - * @param $event_title |
|
| 58 | + * @param string $event_type |
|
| 59 | + * @param string $event_title |
|
| 60 | 60 | * @param Request $request |
| 61 | 61 | */ |
| 62 | 62 | 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 | */ |