diff --git a/composer.json b/composer.json index 702b1d6..eb879f6 100644 --- a/composer.json +++ b/composer.json @@ -26,6 +26,6 @@ "require": { }, "require-dev": { - "phpunit/phpunit": "^4.8 || ^5.7 || ^6.5 || ^7.5" + "phpunit/phpunit": "^4.8 || ^5.7 || ^6.5 || ^7.5 || ^8.0" } } diff --git a/src/With.php b/src/With.php index 71bb294..771d25b 100644 --- a/src/With.php +++ b/src/With.php @@ -41,7 +41,7 @@ public function __construct($thing) * * @return With */ - public function __call(string $method, array $things): With + public function __call(string $method, array $things) { if (\substr($method, -1) === '_') { $method = \substr($method, 0, -1);