From bc73bc67034bf875cdcace2bbc569350a3acbc80 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 10 Oct 2019 09:19:00 +0200 Subject: [PATCH] fix #95: typo by @rcanavan --- src/php_http_message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/php_http_message.c b/src/php_http_message.c index 55fdb81..371ecb7 100644 --- a/src/php_http_message.c +++ b/src/php_http_message.c @@ -1477,7 +1477,7 @@ static PHP_METHOD(HttpMessage, getResponseCode) PHP_HTTP_MESSAGE_OBJECT_INIT(obj); if (obj->message->type != PHP_HTTP_RESPONSE) { - php_error_docref(NULL, E_WARNING, "http\\Message is not if type response"); + php_error_docref(NULL, E_WARNING, "http\\Message is not of type response"); RETURN_FALSE; } -- 2.30.2