Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
14 | class CommentController extends Controller |
||
15 | { |
||
16 | /** |
||
17 | * Get the set of comments associated with a Job. |
||
18 | * |
||
19 | * @param JobPoster $jobPoster |
||
20 | * @return \Illuminate\Http\Response |
||
21 | */ |
||
22 | public function indexByJob(JobPoster $jobPoster) |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Store a newly created resource in storage |
||
30 | * |
||
31 | * @param \App\Http\Requests\StoreComment $request Incoming request. |
||
32 | * @param \App\Models\JobPoster $jobPoster Incoming Job Poster. |
||
33 | * @return \Illuminate\Http\Response |
||
34 | */ |
||
35 | public function store(StoreComment $request, JobPoster $jobPoster) |
||
44 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.