Skip to content

Commit 78b6b42

Browse files
author
Holger Lösken
committed
Fix cs
1 parent 92de7ba commit 78b6b42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Command/IndexCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected function getEntitiesFromArgs(InputInterface $input, OutputInterface $o
4444
$list = \explode(',', $indexList);
4545
$indexNames = collect($list)->transform(function (string $item) {
4646
// Check if the given index name already contains the prefix
47-
if(strpos($item, $this->prefix) === false) {
47+
if (false === strpos($item, $this->prefix)) {
4848
return $this->prefix.$item;
4949
}
5050

tests/TestCase/SearchTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function testSearchImportAggregator()
5353
{
5454
$this->entityManager->clear();
5555

56-
for ($i = 0; $i < 5; $i++) {
56+
for ($i = 0; $i < 5; ++$i) {
5757
$this->createPost();
5858
}
5959

0 commit comments

Comments
 (0)