From 7dd9d5fd54588cf8c0add93e43112aab190dc419 Mon Sep 17 00:00:00 2001 From: Rowan Hill Date: Thu, 30 Dec 2021 18:49:19 +0000 Subject: [PATCH] Drop string annotation to allow Phockito to produce fake --- src/WireMock/Client/MappingBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WireMock/Client/MappingBuilder.php b/src/WireMock/Client/MappingBuilder.php index e069d2c..e3e1dd3 100644 --- a/src/WireMock/Client/MappingBuilder.php +++ b/src/WireMock/Client/MappingBuilder.php @@ -202,7 +202,7 @@ public function persistent() * @param WebhookDefinition $webhook * @return $this */ - public function withPostServeAction(string $name, WebhookDefinition $webhook) + public function withPostServeAction($name, WebhookDefinition $webhook) { if (!isset($this->_postServeActions)) { $this->_postServeActions = array();