@@ -278,10 +278,10 @@ |
||
278 | 278 | * |
279 | 279 | * @param \string $hmac HMAC |
280 | 280 | * @param \array $hmacParams HMAC parameters |
281 | - * @param \int $timestamp Timestamp |
|
281 | + * @param integer $timestamp Timestamp |
|
282 | 282 | * @param \boolean $followUp Follow-up request |
283 | 283 | * |
284 | - * @return \boolean HMAC matches |
|
284 | + * @return boolean HMAC matches |
|
285 | 285 | */ |
286 | 286 | protected function _probeTimedHMAC($hmac, array $hmacParams, $timestamp, $followUp = false) |
287 | 287 | { |
@@ -37,7 +37,6 @@ |
||
37 | 37 | namespace Jkphl\Antibot\Ports\Validators; |
38 | 38 | |
39 | 39 | use Jkphl\Antibot\Domain\Antibot; |
40 | -use Jkphl\Antibot\Domain\Exceptions\InvalidRequestMethodOrderException; |
|
41 | 40 | use Jkphl\Antibot\Infrastructure\Exceptions\HmacValidationException; |
42 | 41 | use Jkphl\Antibot\Infrastructure\Factory\HmacFactory; |
43 | 42 | use Jkphl\Antibot\Infrastructure\Model\AbstractValidator; |