| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public function actionIndex(string $jwt = null) |
||
| 33 | { |
||
| 34 | $jwt = $jwt ?? Craft::$app->getRequest()->getRequiredParam('jwt'); |
||
| 35 | |||
| 36 | /** @var RouteAction $action */ |
||
| 37 | $action = Craft::createObject([ |
||
| 38 | 'class' => RouteAction::class |
||
| 39 | ], [ |
||
| 40 | 'index', |
||
| 41 | $this |
||
| 42 | ]); |
||
| 43 | |||
| 44 | return $action->runWithParams([ |
||
| 45 | 'token' => $jwt |
||
| 46 | ]); |
||
| 47 | } |
||
| 48 | } |
||
| 49 |