diff --git a/composer.json b/composer.json index 7f85e63..1380a88 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "amphp/parallel-functions": "^1.0", "amphp/sync": "^1.4", "fakerphp/faker": "^1.19", - "opis/closure": "^3.6", + "opis/closure": "^3.6 || ^4.0", "phpstan/phpstan": "^1.10", "phpunit/php-invoker": "^2.0|^3.1|^4.0", "phpunit/phpunit": "^8.5|^9.6|^10.0",