Skip to content

Commit

Permalink
Update AlgoliaEngine.php
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Nov 10, 2018
1 parent 55fdaf6 commit 7195b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Engines/AlgoliaEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function update($models)
return array_merge(['objectID' => $model->getScoutKey()], $array);
})->filter()->values()->all();

if (!empty($objects)) {
if (! empty($objects)) {
$index->addObjects($objects);
}
}
Expand Down

0 comments on commit 7195b3e

Please sign in to comment.