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

HomeController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
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\Tenantarea;
6
7
use Cortex\Foundation\Http\Controllers\AbstractController;
8
9
class HomeController extends AbstractController
10
{
11
    /**
12
     * Show index page.
13
     *
14
     * @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...
15
     */
16
    public function index()
17
    {
18
        return view('cortex/tenants::tenantarea.pages.home');
19
    }
20
}
21