Repository navigation
Commit 0251b01
fix(joins): type the bounded page's filters as the builder's queries
PHPStan (level max) rejected passing the page's conditions, which are
query-builder queries, to applyFilters(), which takes database queries
so it can split out adapter-compiled filters. The bounded page never
holds those (a read with any keeps the whole join), so the builder's
own filter() takes the conditions as they are. The test narrows the
mixed row values it formats or compares before using them as strings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 0c1b77f commit 0251b01
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5686 | 5686 | | |
5687 | 5687 | | |
5688 | 5688 | | |
5689 | | - | |
| 5689 | + | |
5690 | 5690 | | |
5691 | 5691 | | |
5692 | 5692 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| |||
318 | 319 | | |
319 | 320 | | |
320 | 321 | | |
321 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
322 | 330 | | |
323 | 331 | | |
324 | 332 | | |
| |||
0 commit comments