1 | <?php |
||
12 | class EmployeesController extends Controller |
||
13 | { |
||
14 | /** |
||
15 | * @var \plunner\Company |
||
16 | */ |
||
17 | private $user; |
||
|
|||
18 | |||
19 | /** |
||
20 | * ExampleController constructor. |
||
21 | */ |
||
22 | 15 | public function __construct() |
|
28 | |||
29 | |||
30 | /** |
||
31 | * Display a listing of the resource. |
||
32 | * |
||
33 | * @param int $groupId |
||
34 | * @return \Illuminate\Http\Response |
||
35 | */ |
||
36 | 2 | public function index($groupId) |
|
43 | |||
44 | /** |
||
45 | * Store a newly created resource in storage. |
||
46 | * |
||
47 | * @param EmployeeRequest $request |
||
48 | * @param int $groupId |
||
49 | * @return \Illuminate\Http\Response |
||
50 | */ |
||
51 | 4 | public function store(EmployeeRequest $request, $groupId) |
|
60 | |||
61 | /** |
||
62 | * Remove the specified resource from storage. |
||
63 | * |
||
64 | * @param int $groupId |
||
65 | * @param int $employeeId |
||
66 | * @return \Illuminate\Http\Response |
||
67 | */ |
||
68 | 7 | public function destroy($groupId, $employeeId) |
|
79 | } |
||
80 |
This check marks private properties in classes that are never used. Those properties can be removed.