Skip to content

Rule: Public function gained a parameter

Canonical rule slug: public-function-parameter-added. ← back to all rules

An exported function's arity changes, so an already-compiled caller passes fewer arguments than the callee now reads, and consumer source no longer compiles.

Canonical demonstration