Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Nov 8, 2024
1 parent b256874 commit 97f40dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.3|^10.4"
},
"conflict": {
"algolia/algoliasearch-client-php": "<3.2.0|>=5.0.0"
},
"autoload": {
"psr-4": {
"Laravel\\Scout\\": "src/"
Expand Down
4 changes: 0 additions & 4 deletions src/EngineManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,6 @@ protected function ensureAlgoliaClientIsInstalled()
return;
}

if (class_exists('AlgoliaSearch\Client')) {
throw new Exception('Please upgrade your Algolia client to version: ^3.2|^4.0.');
}

throw new Exception('Please install the suggested Algolia client: algolia/algoliasearch-client-php.');
}

Expand Down

0 comments on commit 97f40dd

Please sign in to comment.