1 | <?php |
||
12 | class UsersController extends Controller |
||
13 | { |
||
14 | /** |
||
15 | * @var InvolvedRepository |
||
16 | */ |
||
17 | protected $involved; |
||
18 | |||
19 | /** |
||
20 | * @var LotRepository |
||
21 | */ |
||
22 | protected $lot; |
||
23 | |||
24 | /** |
||
25 | * @var SpecPriceRepository |
||
26 | */ |
||
27 | protected $specs; |
||
28 | |||
29 | /** |
||
30 | * UsersController constructor. |
||
31 | * @param InvolvedRepository $involvedRepository |
||
32 | */ |
||
33 | public function __construct(InvolvedRepository $involvedRepository, |
||
41 | |||
42 | /** |
||
43 | * Involve the product method. |
||
44 | * |
||
45 | * @param InvolveProductRequest $request |
||
46 | * @param $product |
||
47 | * @return \Illuminate\Http\RedirectResponse |
||
48 | */ |
||
49 | |||
50 | public function involveProductOffer(InvolveProductRequest $request, $product) |
||
66 | |||
67 | /** |
||
68 | * Exit involved product. |
||
69 | * |
||
70 | * @param ExitProductRequest $request |
||
71 | * @param $involve |
||
72 | * @return \Illuminate\Http\RedirectResponse |
||
73 | */ |
||
74 | public function exitProductOffer(ExitProductRequest $request, $involve, $product) |
||
89 | |||
90 | /** |
||
91 | * @param $product |
||
92 | * @return number |
||
93 | */ |
||
94 | public function countInvolvedLot($product) |
||
103 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.