| 1 | <?php |
||
| 12 | class GroupsController extends Controller |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var plunner/Employee |
||
| 16 | */ |
||
| 17 | private $user; |
||
|
|
|||
| 18 | |||
| 19 | /** |
||
| 20 | * ExampleController constructor. |
||
| 21 | */ |
||
| 22 | 8 | public function __construct() |
|
| 28 | |||
| 29 | /** |
||
| 30 | * Display a listing of the resource. |
||
| 31 | * |
||
| 32 | * @return \Illuminate\Http\Response |
||
| 33 | */ |
||
| 34 | 2 | public function index() |
|
| 39 | |||
| 40 | /** |
||
| 41 | * Display the specified resource. |
||
| 42 | * |
||
| 43 | * @param int $id |
||
| 44 | * @return \Illuminate\Http\Response |
||
| 45 | */ |
||
| 46 | 4 | public function show($id) |
|
| 52 | } |
||
| 53 |
This check marks private properties in classes that are never used. Those properties can be removed.