Skip to content

Commit

Permalink
Remove unused $mission params
Browse files Browse the repository at this point in the history
  • Loading branch information
TomBurch committed Aug 9, 2021
1 parent 62225e6 commit 34e2680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/Missions/CommentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function store(Request $request, Mission $mission)
* @param int $id
* @return \Illuminate\Http\Response
*/
public function edit(Mission $mission, MissionComment $comment)
public function edit(Request $request, MissionComment $comment)
{
return json_encode([
'text' => $comment->text
Expand All @@ -97,7 +97,7 @@ public function edit(Mission $mission, MissionComment $comment)
* @param int $id
* @return \Illuminate\Http\Response
*/
public function destroy(Mission $mission, MissionComment $comment)
public function destroy(Request $request, MissionComment $comment)
{
$comment->delete();
}
Expand Down

0 comments on commit 34e2680

Please sign in to comment.