for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* Taken from
* https://github.com/laravel/framework/blob/5.3/src/Illuminate/Auth/Console/stubs/make/controllers/HomeController.stub
*/
namespace App\Http\Controllers;
use App\Http\Requests;
use Illuminate\Http\Request;
/**
* Class HomeController
* @package App\Http\Controllers
class HomeController extends Controller
{
* Create a new controller instance.
*
* @return void
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
public function __construct()
$this->middleware('auth');
}
* Show the application dashboard.
* @return Response
public function index()
return view('adminlte::home');
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.