| Conditions | 1 |
| Paths | 1 |
| Total Lines | 23 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | protected function getRouteMap() |
||
| 18 | { |
||
| 19 | return array( |
||
| 20 | // Page showing a message stating the request has been submitted to our internal queues |
||
| 21 | 'requestSubmitted' => |
||
| 22 | array( |
||
| 23 | 'class' => PageRequestSubmitted::class, |
||
| 24 | 'actions' => array(), |
||
| 25 | ), |
||
| 26 | // Page showing a message stating that email confirmation is required to continue |
||
| 27 | 'emailConfirmationRequired' => |
||
| 28 | array( |
||
| 29 | 'class' => PageEmailConfirmationRequired::class, |
||
| 30 | 'actions' => array(), |
||
| 31 | ), |
||
| 32 | // Action page which handles email confirmation |
||
| 33 | 'confirmEmail' => |
||
| 34 | array( |
||
| 35 | 'class' => PageConfirmEmail::class, |
||
| 36 | 'actions' => array(), |
||
| 37 | ), |
||
| 38 | ); |
||
| 39 | } |
||
| 40 | |||
| 50 | } |
This check looks for the generic type
arrayas a return type and suggests a more specific type. This type is inferred from the actual code.