diff --git a/README.md b/README.md index 476c915..ad84da0 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A super simple package allowing for use MySQL `USE INDEX` and `FORCE INDEX` stat ## Requirements - PHP `^7.4 | ^8.0` -- Laravel 6, 7 and 8 +- Laravel 6, 7, 8 and 9 ## Installation diff --git a/composer.json b/composer.json index 9dd8d9b..2834eaa 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^7.4 | ^8.0", - "illuminate/support": "^6.0|^7.0|^8.0" + "illuminate/support": "^6.0|^7.0|^8.0|^9.0" }, "autoload": { "psr-4": { diff --git a/src/ModelUseIndex.php b/src/ModelUseIndex.php index d8f4902..1c4413d 100644 --- a/src/ModelUseIndex.php +++ b/src/ModelUseIndex.php @@ -7,9 +7,9 @@ use Illuminate\Support\Facades\DB; /** - * @method Builder useIndex(string $index) - * @method Builder forceIndex(string $index) - * @method Builder ignoreIndex(string $index) + * @method Builder useIndex(string|string[] $index) + * @method Builder forceIndex(string|string[] $index) + * @method Builder ignoreIndex(string|string[] $index) * */ trait ModelUseIndex