1 | <?php |
||
9 | class EmployeesController extends Controller |
||
10 | { |
||
11 | /** |
||
12 | * @var plunner/Employee |
||
13 | */ |
||
14 | private $user; |
||
|
|||
15 | |||
16 | /** |
||
17 | * ExampleController constructor. |
||
18 | */ |
||
19 | public function __construct() |
||
25 | |||
26 | /** |
||
27 | * Display a listing of the resource. |
||
28 | * |
||
29 | * @return \Illuminate\Http\Response |
||
30 | */ |
||
31 | public function index() |
||
36 | |||
37 | //TODO this is not RESTFUL, but it can be ok |
||
38 | |||
39 | /** |
||
40 | * Display the specified resource. |
||
41 | * |
||
42 | * @param int $id |
||
43 | * @return \Illuminate\Http\Response |
||
44 | */ |
||
45 | public function show($id) |
||
51 | |||
52 | //TODO why this? when we need this? |
||
53 | } |
||
54 |
This check marks private properties in classes that are never used. Those properties can be removed.