Commit d2694af
fix: correct return type of ResourceCollection::withResponse()
The method creates `new static()` so the real return type is `static`,
not `self`. Use a @return static docblock to satisfy PHPStan while
keeping `self` in the type hint for PHP 7.4 compatibility.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b025b72 commit d2694af
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments