Skip to content

Commit 9829ffb

Browse files
author
Michael Deck
committed
Change default where property to empty array instead of a collection
1 parent b0d73ad commit 9829ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/Query/FMBaseBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public function where($column, $operator = null, $value = null, $boolean = 'and'
164164
// Create a new find array if null
165165
$count = sizeof($this->wheres);
166166
if ($count == 0) {
167-
$currentFind = collect([]);
167+
$currentFind = [];
168168
} else {
169169
$currentFind = $this->wheres[sizeof($this->wheres) - 1];
170170
}

0 commit comments

Comments
 (0)