Completed
Push — master ( dc97e3...7d3e58 )
by Adam
03:03
created

HomeController::index()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace App\Http\Controllers;
4
5
class HomeController extends Controller
6
{
7 1
    public function __construct()
8
    {
9 1
        $this->middleware('auth');
10 1
    }
11
12
    /**
13
     * Show the application dashboard.
14
     *
15
     * @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...
16
     */
17 1
    public function index()
18
    {
19 1
        return view('home');
20
    }
21
}
22