Skip to content

Commit ea8ef88

Browse files
committed
Remove if
1 parent 1fea12b commit ea8ef88

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Scout/ScoutEngine.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,7 @@ public function update($models)
118118
}
119119
}
120120

121-
if ($bulk) {
122-
$this->getIndexableCollection($models)->bulkWrite($bulk);
123-
}
121+
$this->getIndexableCollection($models)->bulkWrite($bulk);
124122
}
125123

126124
/**

0 commit comments

Comments
 (0)