Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

lint/phpdoc/add-missing-param

In the coding-style set. Safe fix.

What it does

PHPDoc should contain @param for all params.

Configuration

[lint.rules]
"phpdoc/add-missing-param" = "error"

To skip it in some files, add an override or a @pun-ignore-file comment.

Options

Name Type Allowed values Default Upstream name
only-untyped bool Any true only_untyped

Replaces

More lint/phpdoc rules · Edit this page

Last updated on

Was this page helpful?