Commit 6107fda
Fix wpdb::get_results() return type (#146)
* Fix wpdb::get_results() return type
Based on #145
* Remove copy of WordPress docs from tests
Co-authored-by: Viktor Szépe <viktor@szepe.net>
* Improve wpdb::get_row()
- use list type
- don't specify string keys, since PHP might cast it to int
---------
Co-authored-by: Viktor Szépe <viktor@szepe.net>1 parent b874054 commit 6107fda
3 files changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
| 130 | + | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59104 | 59104 | | |
59105 | 59105 | | |
59106 | 59106 | | |
59107 | | - | |
| 59107 | + | |
59108 | 59108 | | |
59109 | 59109 | | |
59110 | 59110 | | |
| |||
59143 | 59143 | | |
59144 | 59144 | | |
59145 | 59145 | | |
59146 | | - | |
| 59146 | + | |
59147 | 59147 | | |
59148 | 59148 | | |
59149 | 59149 | | |
| |||
0 commit comments