@@ -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 403 error code. |
| 33 | - * @param $message |
|
| 33 | + * @param string $message |
|
| 34 | 34 | * @return mixed |
| 35 | 35 | */ |
| 36 | 36 | public function responseError($message) |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | 42 | * Return YES success message. |
| 43 | - * @return mixed |
|
| 43 | + * @return string |
|
| 44 | 44 | */ |
| 45 | 45 | public function responseOK() |
| 46 | 46 | { |
@@ -49,8 +49,8 @@ discard block |
||
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | 51 | * Fill event details to pass the title and request params as array. |
| 52 | - * @param $event_type |
|
| 53 | - * @param $event_title |
|
| 52 | + * @param string $event_type |
|
| 53 | + * @param string $event_title |
|
| 54 | 54 | * @param Request $request |
| 55 | 55 | */ |
| 56 | 56 | public function eventFillAndSend($event_type, $event_title, Request $request) |
@@ -317,7 +317,7 @@ discard block |
||
| 317 | 317 | /** |
| 318 | 318 | * Call PaidOrderFilter if order not paid. |
| 319 | 319 | * @param Request $request |
| 320 | - * @param $order |
|
| 320 | + * @param boolean $order |
|
| 321 | 321 | * @return mixed |
| 322 | 322 | * @throws InvalidConfiguration |
| 323 | 323 | */ |