Completed
Push — develop ( 2abe41...c79070 )
by Abdelrahman
01:42
created

HomeController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 22
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Cortex\Tenants\Http\Controllers\Managerarea;
6
7
use Cortex\Foundation\Http\Controllers\AuthorizedController;
8
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
0 ignored issues
show
Documentation introduced by
Should the return type not be \Illuminate\View\View|\I...\Contracts\View\Factory?

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.

Loading history...
25
     */
26
    public function index()
27
    {
28
        return view('cortex/tenants::managerarea.pages.home');
29
    }
30
}
31