Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpClient]  Add missing return type #46119

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

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Apr 20, 2022

Q A
Branch? 6.1
Bug fix? no
New feature? no
Deprecations? no
Tickets n/a
License MIT
Doc PR n/a

Return type on private methods; useful when reading the code.

@carsonbot carsonbot added this to the 6.1 milestone Apr 20, 2022
@carsonbot carsonbot changed the title [HttpClient] Add missing return type [HttpClient]  Add missing return type Apr 20, 2022
@@ -117,7 +117,7 @@ public function stream_open(string $path, string $mode, int $options): bool
return false;
}

public function stream_read(int $count)
public function stream_read(int $count): string|false
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Tobion
Copy link
Contributor

Tobion commented Apr 20, 2022

Thank you @GromNaN.

@Tobion Tobion merged commit 76b9219 into symfony:6.1 Apr 20, 2022
@GromNaN GromNaN deleted the http-client-return-types branch April 20, 2022 19:38
@GromNaN GromNaN restored the http-client-return-types branch April 20, 2022 19:39
@GromNaN GromNaN deleted the http-client-return-types branch April 20, 2022 19:40
@GromNaN GromNaN restored the http-client-return-types branch April 20, 2022 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants