When using PHPStan on code interacting with the Paragraphs API there are some complaints which are caused by (ever so slightly) incorrect return type documentation in the interfaces.
Adapting the return type docs fixes the PHPStan issues.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3114396-3.patch | 1.27 KB | kris_nikolov |
| #2 | 3114396-2.patch | 1.25 KB | tstoeckler |
Comments
Comment #2
tstoecklerComment #3
tstoecklerFixing slightly misleading title
Comment #4
berdirlets make this use the namespace when we touch it anyway?
Comment #5
kris_nikolov commentedPatch with changes based on #4 suggestion.
Comment #6
tmaiochi commentedI'll review this!
Comment #7
tmaiochi commentedThe patch change the return type for the namespace as suggested in #4
@kris_nikolov Just a warning your patch is named with the wrong comment number. See this in Patch naming conventions
Comment #8
berdirCommitted.