From: Michael Wallner Date: Thu, 10 Oct 2019 07:19:00 +0000 (+0200) Subject: fix #95: typo by @rcanavan X-Git-Tag: RELEASE_3_2_2~4 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=bc73bc67034bf875cdcace2bbc569350a3acbc80 fix #95: typo by @rcanavan --- 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; }