| 1 | <?php |
||
| 10 | class PublicRequestRouter extends RequestRouter |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Gets the route map to be used by this request router. |
||
| 14 | * |
||
| 15 | * @return array |
||
|
|
|||
| 16 | */ |
||
| 17 | protected function getRouteMap() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Gets the default route if no explicit route is requested. |
||
| 43 | * |
||
| 44 | * @return callable |
||
| 45 | */ |
||
| 46 | protected function getDefaultRoute() |
||
| 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.