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