Commit 429b5c3
committed
chore: PHPStan fixes for always-false instanceof and redundant nullsafe
* TypeBuilder: `$operation instanceof Query` is always false inside the
`$wrapData` block since `$wrapData` requires Mutation|Subscription
* PartialCollectionViewNormalizer: inside `if ($isPaginatedWithCursor)`,
`$operation` is narrowed to non-nullable HttpOperation — use `->` not `?->`1 parent 0dcd59d commit 429b5c3
File tree
2 files changed
+2
-2
lines changed- src
- GraphQl/Type
- Hydra/Serializer
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
| 346 | + | |
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments