Completed
Pull Request — master (#13)
by Glenn
02:12
created

CustomersController::edit()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace App\Http\Controllers;
4
5
use Illuminate\Http\Request;
6
7
use App\Http\Requests;
8
9
class CustomersController extends Controller
10
{
11
12
    public function __construct()
13
    {
14
        $this->middleware('auth');
15
    }
16
17
    public function index()
18
    {
19
        return view('customers/index');
20
    }
21
   
22
    public function register()
23
    {
24
        return view('customers/register');
25
    }
26
27
    public function store()
28
    {
29
    	
30
    }
31
32
    public function edit($id)
0 ignored issues
show
Unused Code introduced by
The parameter $id is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
33
    {
34
        return view('customers/edit');
35
    }
36
}
37