HasParamNonVoidCallableRule
What this rule checks
Has a top-level function or a class method that both takes a parameter and returns a value (composed post-Zita from Marker-only rule 29 + Marker-only rule 30)
Configuration
When off, this rule is excluded from pipeline runs. Changes apply immediately.
Code Examples
Overview
| Category | Topic Functions |
| Level | Advanced |
| Type | Custom Zita |
| Priority | 3 (1 = highest, 5 = lowest) |
| Status | Active |
PMD Configuration
| Message template | No function or method both takes a parameter and returns a value. |