1 | <?php |
||
12 | class EmployeesController extends Controller |
||
13 | { |
||
14 | /** |
||
15 | * @var \plunner\Company |
||
16 | */ |
||
17 | private $user; |
||
|
|||
18 | |||
19 | /** |
||
20 | * ExampleController constructor. |
||
21 | */ |
||
22 | 8 | public function __construct() |
|
28 | |||
29 | |||
30 | /** |
||
31 | * Display a listing of the resource. |
||
32 | * |
||
33 | * @return \Illuminate\Http\Response |
||
34 | */ |
||
35 | 1 | public function index() |
|
44 | |||
45 | /** |
||
46 | * Store a newly created resource in storage. |
||
47 | * |
||
48 | * @param EmployeeRequest $request |
||
49 | * @return \Illuminate\Http\Response |
||
50 | */ |
||
51 | 2 | public function store(EmployeeRequest $request) |
|
59 | |||
60 | /** |
||
61 | * Display the specified resource. |
||
62 | * |
||
63 | * @param int $id |
||
64 | * @return \Illuminate\Http\Response |
||
65 | */ |
||
66 | 2 | public function show($id) |
|
73 | |||
74 | /** |
||
75 | * Update the specified resource in storage. |
||
76 | * |
||
77 | * @param EmployeeRequest $request |
||
78 | * @param int $id |
||
79 | * @return \Illuminate\Http\Response |
||
80 | */ |
||
81 | 1 | public function update(EmployeeRequest $request, $id) |
|
90 | |||
91 | /** |
||
92 | * Remove the specified resource from storage. |
||
93 | * |
||
94 | * @param int $id |
||
95 | * @return \Illuminate\Http\Response |
||
96 | */ |
||
97 | 2 | public function destroy($id) |
|
105 | } |
||
106 |
This check marks private properties in classes that are never used. Those properties can be removed.