fix #95: typo by @rcanavan
authorMichael Wallner <mike@php.net>
Thu, 10 Oct 2019 07:19:00 +0000 (09:19 +0200)
committerMichael Wallner <mike@php.net>
Thu, 10 Oct 2019 07:19:00 +0000 (09:19 +0200)
src/php_http_message.c

index 55fdb81f0755fca64cdf6fe5b5d189fe9c863cae..371ecb7067d021785caa7677de75f135b6b45fdd 100644 (file)
@@ -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;
                }