| 1 | <?php |
||
| 9 | class HomeController extends AuthorizedController |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * {@inheritdoc} |
||
| 13 | */ |
||
| 14 | protected $resource = 'tenantarea'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * {@inheritdoc} |
||
| 18 | */ |
||
| 19 | protected $resourceAbilityMap = ['index' => 'access']; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Show the tenantarea home. |
||
| 23 | * |
||
| 24 | * @return \Illuminate\Http\Response |
||
|
|
|||
| 25 | */ |
||
| 26 | public function index() |
||
| 30 | } |
||
| 31 |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.