Skip to content

Commit

Permalink
Added laravel 10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilsonxhero committed Mar 10, 2023
1 parent 5522dd9 commit 546e747
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
],
"require": {
"php": "8.0.*||8.1.*||8.2.*",
"illuminate/support": "^9.0",
"illuminate/support": "^9.0||^10.0",
"laravel/scout": "^9.0",
"webmozart/assert": "^1.10",
"elasticsearch/elasticsearch": "^8.6"
Expand All @@ -45,10 +45,7 @@
"laravel": {
"providers": [
"Hilsonxhero\\ElasticVision\\Providers\\ServiceProvider"
],
"aliases": {
"ElasticVision": "Hilsonxhero\\ElasticVision\\Facade\\ElasticVisionFacade"
}
]
}
}
}
2 changes: 1 addition & 1 deletion src/Domain/Syntax/Matching.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function build(): array
$query['boost'] = $this->getBoost();
}

return ['match' => [ $this->field => $query ] ];
return ['match' => [$this->field => $query]];
}

private function getAnalyzer(): ?string
Expand Down

0 comments on commit 546e747

Please sign in to comment.