Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo in src/php_http_message.c #95

Closed
rcanavan opened this issue Oct 9, 2019 · 0 comments
Closed

typo in src/php_http_message.c #95

rcanavan opened this issue Oct 9, 2019 · 0 comments

Comments

@rcanavan
Copy link

rcanavan commented Oct 9, 2019

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;
 		}
 
@m6w6 m6w6 closed this as completed in bc73bc6 Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant