Completed
Push — master ( d06fb7...7b57f2 )
by Tim
02:32
created

DepartmentController   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 78
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 7
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 78
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A store() 0 4 1
A show() 0 4 1
A update() 0 4 1
1
<?php
2
3
namespace App\Http\Controllers;
4
5
use Illuminate\Http\Request;
6
7
use App\Http\Requests;
8
9
class DepartmentController extends Controller
10
{
11
    /**
12
     * Display a listing of the resource.
13
     *
14
     * @return \Illuminate\Http\Response
15
     */
16
    public function index()
17
    {
18
        //
19
    }
20
21
    /**
22
     * Show the form for creating a new resource.
23
     *
24
     * @return \Illuminate\Http\Response
25
     */
26
    public function create()
27
    {
28
        //
29
    }
30
31
    /**
32
     * Store a newly created resource in storage.
33
     *
34
     * @param  \Illuminate\Http\Request  $request
35
     * @return \Illuminate\Http\Response
36
     */
37
    public function store(Request $request)
0 ignored issues
show
Unused Code introduced by
The parameter $request 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...
38
    {
39
        //
40
    }
41
42
    /**
43
     * Display the specified resource.
44
     *
45
     * @param  int  $id
46
     * @return \Illuminate\Http\Response
47
     */
48
    public function show($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...
49
    {
50
        //
51
    }
52
53
    /**
54
     * Show the form for editing the specified resource.
55
     *
56
     * @param  int  $id
57
     * @return \Illuminate\Http\Response
58
     */
59
    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...
60
    {
61
        //
62
    }
63
64
    /**
65
     * Update the specified resource in storage.
66
     *
67
     * @param  \Illuminate\Http\Request  $request
68
     * @param  int  $id
69
     * @return \Illuminate\Http\Response
70
     */
71
    public function update(Request $request, $id)
0 ignored issues
show
Unused Code introduced by
The parameter $request 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...
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...
72
    {
73
        //
74
    }
75
76
    /**
77
     * Remove the specified resource from storage.
78
     *
79
     * @param  int  $id
80
     * @return \Illuminate\Http\Response
81
     */
82
    public function destroy($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...
83
    {
84
        //
85
    }
86
}
87