@@ -133,7 +133,7 @@ |
||
| 133 | 133 | $token = self::encode(hash_hmac('sha256', ClientIp::getIp($request), base64_decode($token), true)); |
| 134 | 134 | |
| 135 | 135 | return '<input type="hidden" name="'.$this->formIndex.'" value="'.htmlentities($index, ENT_QUOTES, 'UTF-8').'">' |
| 136 | - .'<input type="hidden" name="'.$this->formToken.'" value="'.htmlentities($token, ENT_QUOTES, 'UTF-8').'">'; |
|
| 136 | + .'<input type="hidden" name="'.$this->formToken.'" value="'.htmlentities($token, ENT_QUOTES, 'UTF-8').'">'; |
|
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | /** |
@@ -109,7 +109,6 @@ discard block |
||
| 109 | 109 | /** |
| 110 | 110 | * Returns the geolocation from the session storage |
| 111 | 111 | * |
| 112 | - * @param ResponseInterface $response |
|
| 113 | 112 | * @param string $ip |
| 114 | 113 | * |
| 115 | 114 | * @return AddressCollection|null |
@@ -127,7 +126,6 @@ discard block |
||
| 127 | 126 | /** |
| 128 | 127 | * Saves the geolocation in the session storage |
| 129 | 128 | * |
| 130 | - * @param ResponseInterface $response |
|
| 131 | 129 | * @param string $ip |
| 132 | 130 | * @param AddressCollection $address |
| 133 | 131 | */ |