Skip to content

[Feature Request]: Trick PhpStorm into believing Request parameter in controllers is being used #1378

Description

@smares

Feature Description

All my controller actions have a $request parameter with a type specific to that controller action. They contain authorization information so Laravel uses them behind the scenes. However, PhpStorm is complaining all the timeUnused parameter 'request'. The parameter's value is not used anywhere..

Would it be possible for Laravel Idea to trick PhpStorm into believing the parameter is actually used if it's in a controller action?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions