Skip to content

Commit

Permalink
codestyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz-nz committed Nov 16, 2023
1 parent 1fa2842 commit 866f904
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/AlgoliaEngineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function test_map_correctly_maps_results_to_models()
'nbHits' => 1,
'hits' => [
['objectID' => 1, 'id' => 1, '_rankingInfo' => ['nbTypos' => 0]],
]
],
], $model);

$this->assertCount(1, $results);
Expand Down Expand Up @@ -322,6 +322,6 @@ class AlgoliaCustomKeySearchableModel extends SearchableModel
{
public function getScoutKey()
{
return 'my-algolia-key.' . $this->getKey();
return 'my-algolia-key.'.$this->getKey();
}
}
4 changes: 2 additions & 2 deletions tests/Unit/MeilisearchEngineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public function test_map_correctly_maps_results_to_models()
'totalHits' => 1,
'hits' => [
['id' => 1, '_rankingScore' => 0.86],
]
],
], $model);

$this->assertCount(1, $results);
Expand Down Expand Up @@ -642,7 +642,7 @@ class MeilisearchCustomKeySearchableModel extends SearchableModel
{
public function getScoutKey()
{
return 'my-meilisearch-key.' . $this->getKey();
return 'my-meilisearch-key.'.$this->getKey();
}

public function getScoutKeyName()
Expand Down

0 comments on commit 866f904

Please sign in to comment.