1 | <?php |
||
12 | class GroupsController extends Controller |
||
13 | { |
||
14 | /** |
||
15 | * @var \plunner\Company |
||
16 | */ |
||
17 | private $user; |
||
|
|||
18 | |||
19 | /** |
||
20 | * ExampleController constructor. |
||
21 | */ |
||
22 | public function __construct() |
||
28 | |||
29 | |||
30 | /** |
||
31 | * Display a listing of the resource. |
||
32 | * |
||
33 | * @return \Illuminate\Http\Response |
||
34 | */ |
||
35 | public function index() |
||
44 | |||
45 | /** |
||
46 | * Store a newly created resource in storage. |
||
47 | * |
||
48 | * @param \Illuminate\Http\Request $request |
||
49 | * @return \Illuminate\Http\Response |
||
50 | */ |
||
51 | public function store(Request $request) |
||
55 | |||
56 | /** |
||
57 | * Display the specified resource. |
||
58 | * |
||
59 | * @param int $id |
||
60 | * @return \Illuminate\Http\Response |
||
61 | */ |
||
62 | public function show($id) |
||
66 | |||
67 | /** |
||
68 | * Update the specified resource in storage. |
||
69 | * |
||
70 | * @param \Illuminate\Http\Request $request |
||
71 | * @param int $id |
||
72 | * @return \Illuminate\Http\Response |
||
73 | */ |
||
74 | public function update(Request $request, $id) |
||
78 | |||
79 | /** |
||
80 | * Remove the specified resource from storage. |
||
81 | * |
||
82 | * @param int $id |
||
83 | * @return \Illuminate\Http\Response |
||
84 | */ |
||
85 | public function destroy($id) |
||
89 | } |
||
90 |
This check marks private properties in classes that are never used. Those properties can be removed.