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