Commit 0766263
Skip docblock requirement for constructors with fully typed parameters (#41)
When a constructor has all parameters fully typed (including promoted
properties like `public function __construct(protected bool $xhtml = false)`),
a docblock is redundant since the types are self-documenting.
This change skips the ConstructDesctructMissingDocBlock error when all
constructor parameters have type hints.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent 0220202 commit 0766263
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
137 | 151 | | |
138 | 152 | | |
139 | 153 | | |
| |||
0 commit comments