Issues (45)

app/Http/Controllers/HomeController.php (2 issues)

1
<?php
2
3
/*
4
 * Taken from
5
 * https://github.com/laravel/framework/blob/5.3/src/Illuminate/Auth/Console/stubs/make/controllers/HomeController.stub
6
 */
7
8
namespace App\Http\Controllers;
9
10
/**
11
 * Class HomeController.
12
 */
13
class HomeController extends Controller
14
{
15
    /**
16
     * Create a new controller instance.
17
     *
18
     * @return void
19
     */
20
    public function __construct()
21
    {
22
        $this->middleware('auth');
23
    }
24
25
    /**
26
     * Show the application dashboard.
27
     *
28
     * @return Response
0 ignored issues
show
The type App\Http\Controllers\Response was not found. Did you mean Response? If so, make sure to prefix the type with \.
Loading history...
29
     */
30
    public function index()
31
    {
32
        return view('adminlte::home');
0 ignored issues
show
Bug Best Practice introduced by
The expression return view('adminlte::home') returns the type Illuminate\View\View which is incompatible with the documented return type App\Http\Controllers\Response.
Loading history...
33
    }
34
}
35