Skip to content

Commit fef81ca

Browse files
authored
Merge pull request #1 from lpointetf/master
Fix syntax errors for PHP < 7.3
2 parents 81e1166 + 8b4fbce commit fef81ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Engines/ArrayEngine.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function update($models)
4949

5050
$this->store->set($model->searchableAs(), $model->getScoutKey(), array_merge(
5151
$searchableData,
52-
$model->scoutMetadata(),
52+
$model->scoutMetadata()
5353
));
5454
});
5555
}

src/Search.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public function assertNothingSynced(): self
185185
Assert::assertEquals(
186186
0,
187187
$this->store->countInHistory(),
188-
"Failed asserting that nothing was synced to search index.",
188+
"Failed asserting that nothing was synced to search index."
189189
);
190190

191191
return $this;
@@ -196,7 +196,7 @@ public function assertNothingSyncedTo(string $index): self
196196
Assert::assertEquals(
197197
0,
198198
$this->store->countInHistory($index),
199-
"Failed asserting that nothing was synced to '{$index}' search index.",
199+
"Failed asserting that nothing was synced to '{$index}' search index."
200200
);
201201

202202
return $this;

0 commit comments

Comments
 (0)