| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class CallbackRequest extends Request |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * CallbackRequest constructor. |
||
| 16 | * |
||
| 17 | * @param Gateway $gateway |
||
| 18 | * @param HttpRequest $request |
||
| 19 | * |
||
| 20 | * @throws SignatureValidateException |
||
| 21 | */ |
||
| 22 | public function __construct(Gateway $gateway, HttpRequest $request) |
||
| 28 | } |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return bool |
||
| 33 | */ |
||
| 34 | protected function validate(): bool |
||
| 39 |