Commit 02bdb05
authored
Fix Exception when QueryCollector softLimit exceeded (#1702)
The other match() case is:
$query->connection->prepareBindings($query->bindings)
This method always returns an array.
Before this commit the match() case would return null, which is the wrong data type used downstream.
This resulted in Exception:
Debugbar exception: foreach() argument must be of type array|object, null given1 parent cf7872b commit 02bdb05
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
0 commit comments