for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
class CustomersController extends Controller
{
public function __construct()
$this->middleware('auth');
}
public function index()
return view('customers/index');
public function register()
return view('customers/register');
public function store()
public function edit($id)
$id
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return view('customers/edit');
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.