Commit 11dd32e
Add named argument tests for PDOStatement::fetchAll()
The `mode:` named argument works correctly with the multi-variant
overloads. Note that `column:` and `class:` cannot be used as named
arguments because PDOStatement::fetchAll is an internal function with
variadic `...$args` — PHP does not accept arbitrary named parameters
for variadic params on internal functions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0c96c32 commit 11dd32e
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
0 commit comments