diff --git a/composer.json b/composer.json index 4df6788..adc8515 100644 --- a/composer.json +++ b/composer.json @@ -5,15 +5,15 @@ "require": { "php": "^7.3|^8", "ext-simplexml": "*", - "illuminate/config": "^6.0 || ^7.0 || ^8.0", - "illuminate/container": "^6.0 || ^7.0 || ^8.0", - "illuminate/contracts": "^6.0 || ^7.0 || ^8.0", - "illuminate/database": "^6.0 || ^7.0 || ^8.0", - "illuminate/events": "^6.0 || ^7.0 || ^8.0", - "illuminate/http": "^6.0 || ^7.0 || ^8.0", - "illuminate/routing": "^6.0 || ^7.0 || ^8.0", - "illuminate/support": "^6.0 || ^7.0 || ^8.0", - "illuminate/view": "^6.0 || ^7.0 || ^8.0", + "illuminate/config": "^6.0 || ^8.0", + "illuminate/container": "^6.0 || ^8.0", + "illuminate/contracts": "^6.0 || ^8.0", + "illuminate/database": "^6.0 || ^8.0", + "illuminate/events": "^6.0 || ^8.0", + "illuminate/http": "^6.0 || ^8.0", + "illuminate/routing": "^6.0 || ^8.0", + "illuminate/support": "^6.0 || ^8.0", + "illuminate/view": "^6.0 || ^8.0", "vimeo/psalm": "^4.8.1", "orchestra/testbench": "^3.8 || ^4.0 || ^5.0 || ^6.0", "barryvdh/laravel-ide-helper": ">=2.8.0 <2.9.2" diff --git a/stubs/7/helpers.stubphp b/stubs/7/helpers.stubphp deleted file mode 100644 index 8349dea..0000000 --- a/stubs/7/helpers.stubphp +++ /dev/null @@ -1,25 +0,0 @@ - $modelClassName - * @param TNameOrCountOrNull $nameOrCount - * @param TCountOrNull $count - * - * @return ( - TCountOrNull is int - ? Illuminate\Database\Eloquent\FactoryBuilder - : ( - TNameOrCountOrNull is int - ? Illuminate\Database\Eloquent\FactoryBuilder - : Illuminate\Database\Eloquent\FactoryBuilder - ) - - ) - */ -function factory(string $modelClassName, $nameOrCount = null, $count = null) -{ -} diff --git a/tests/acceptance/FactoryTypes.feature b/tests/acceptance/FactoryTypes.feature index aaf16a0..c846acc 100644 --- a/tests/acceptance/FactoryTypes.feature +++ b/tests/acceptance/FactoryTypes.feature @@ -25,7 +25,7 @@ Feature: factory() """ Scenario: can use factory helper in Laravel 6.x and 7.x - Given I have the "laravel/framework" package satisfying the "6.* || 7.*" + Given I have the "laravel/framework" package satisfying the "6.*" And I have the following code """ class FactoryTest {