diff --git a/composer.json b/composer.json index fe6e8734..4f180d57 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require": { - "php": "^7.3", + "php": "^7.3|^8.0", "ql/uri-template": "^1.1", "webmozart/assert": "^1.2", "guzzlehttp/guzzle": "^6.3|^7.0.1" diff --git a/tests/Webhooks/IncomingWebhookTest.php b/tests/Webhooks/IncomingWebhookTest.php index 771b6f4a..76606067 100644 --- a/tests/Webhooks/IncomingWebhookTest.php +++ b/tests/Webhooks/IncomingWebhookTest.php @@ -15,7 +15,7 @@ class IncomingWebhookTest extends TestCase { - protected function createRequest(array $headers = [], string $body) + protected function createRequest(array $headers, string $body) { return new Request('POST', 'www.blah.blah', $headers, $body); }