We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Why do you use in_array like this (without needle);
in_array
public static function isSafeMethod($method) { return in_array(self::safeMethods()); }
I think it should be like this;
public static function isSafeMethod($method) { return in_array($method, self::safeMethods()); }
Links; https://github.com/nategood/httpful/blob/master/src/Httpful/Http.php#L31 https://github.com/nategood/httpful/blob/master/src/Httpful/Http.php#L40
The text was updated successfully, but these errors were encountered:
Looks like you found a bug :-)
Sorry, something went wrong.
fixes issue #74 isSafe and isUnsafe methods missing params
816f511
No branches or pull requests
Why do you use
in_array
like this (without needle);I think it should be like this;
Links;
https://github.com/nategood/httpful/blob/master/src/Httpful/Http.php#L31
https://github.com/nategood/httpful/blob/master/src/Httpful/Http.php#L40
The text was updated successfully, but these errors were encountered: