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

HomeController::index()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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
}