Completed
Push — master ( a1f3ed...74c577 )
by Kirill
02:49
created

HomeController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 4 1
1
<?php
2
namespace Interfaces\Http\Controllers;
3
4
/**
5
 * Class HomeController
6
 */
7
class HomeController extends Controller
8
{
9
    /**
10
     * @return \Illuminate\View\View
11
     */
12
    public function index()
13
    {
14
        return view('home');
0 ignored issues
show
Bug Compatibility introduced by
The expression view('home'); of type Illuminate\View\View|Ill...\Contracts\View\Factory adds the type Illuminate\Contracts\View\Factory to the return on line 14 which is incompatible with the return type documented by Interfaces\Http\Controllers\HomeController::index of type Illuminate\View\View.
Loading history...
15
    }
16
}