Laravel PHP overriding method with different parameters

Apologies if this has been asked many times before and if this is simply not doable in Laravel/PHP.

In my Laravel app I have a PostController which uses Laravel’s resourceful naming conventions. I also have a CommentController that mostly replicates the PostController in every way and so I have decided that the CommentController should extend PostController.

The only difference so far is that the store() methods need to accept different FormRequest objects as they have different validation rules. So I have overridden the store() method to expect CommentFormRequest instead of PostFormRequest (both of which extend FormRequest).

This is kicking up an error that the overriding method parameters need to match the base method.

Is this expected? and is there a sensible solution to what I’m trying to do?