@@ -6,9 +6,7 @@ |
||
| 6 | 6 | use Psr7Middlewares\Utils; |
| 7 | 7 | use Psr\Http\Message\ServerRequestInterface; |
| 8 | 8 | use Psr\Http\Message\ResponseInterface; |
| 9 | -use InvalidArgumentException; |
|
| 10 | 9 | use RuntimeException; |
| 11 | -use ArrayAccess; |
|
| 12 | 10 | |
| 13 | 11 | /** |
| 14 | 12 | * Middleware for CSRF protection |
@@ -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 | */ |