| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | 4 | public function beforeAction($action) |
|
| 40 | { |
||
| 41 | /** |
||
| 42 | * We obtain the request this way because we do not want to store a reference to any objects with state. |
||
| 43 | * @var Request $request |
||
| 44 | */ |
||
| 45 | 4 | $request = $action->controller->module->get('request'); |
|
| 46 | 4 | $this->signer->verify($request->queryParams, $action->controller->route); |
|
| 47 | 2 | return true; |
|
| 48 | } |
||
| 49 | |||
| 51 |