---
title: "analyse/phpdoc/invalid-param-callable-tag"
pagination: false
---

{/* Generated by scripts/gen-rule-docs.py. Edit mapping.toml, not this file. */}

<RuleId id="analyse/phpdoc/invalid-param-callable-tag" />

In the [`analyse-essential`](/docs/rules/presets/analyse-essential) preset and every stricter one. Report only.

## Configuration

```toml title="pun.toml"
[analyse.rules]
"phpdoc/invalid-param-callable-tag" = "on"
```

To skip it in some files or lines, add an [ignore comment](/docs/configuration/ignore-comments).

## Replaces

- [`IncompatibleParamImmediatelyInvokedCallableRule`](https://phpstan.org/error-identifiers/paramImmediatelyInvokedCallable.nonCallable) (phpstan-classes)
- [`InvalidCallable`](https://mago.carthage.software/1.61.0/en/tools/analyzer/overview/) (mago-analyzer)
- [`paramImmediatelyInvokedCallable.nonCallable`](https://phpstan.org/error-identifiers/paramImmediatelyInvokedCallable.nonCallable) (phpstan)
- [`paramLaterInvokedCallable.nonCallable`](https://phpstan.org/error-identifiers/paramLaterInvokedCallable.nonCallable) (phpstan)
- [`parameter.notFound`](https://phpstan.org/error-identifiers/parameter.notFound) (phpstan)

[More analyse/phpdoc rules](/docs/rules/analyse/phpdoc) · [Edit this page](https://github.com/shipfastlabs/pun/edit/main/crates/pun-config/rules/mapping.toml)
