We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d8acce commit ac1b4feCopy full SHA for ac1b4fe
src/Traits/ModelTrait.php
@@ -212,14 +212,14 @@ protected function addRelations($rows): ?array
212
// If there were no matches then reset per-query data and quit
213
if (empty($rows))
214
{
215
- $this->tmpReset();
+ $this->resetTmp();
216
return $rows;
217
}
218
219
// Likewise for empty singletons
220
if (count($rows) == 1 && reset($rows) == null)
221
222
223
224
225
@@ -246,7 +246,7 @@ protected function addRelations($rows): ?array
246
if (empty($this->tmpWith))
247
248
$rows = $this->tmpReindex ? $this->simpleReindex($rows) : $rows;
249
250
251
252
0 commit comments