Skip to content

Refine PHPDoc #7

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
May 4, 2015
Merged

Refine PHPDoc #7

merged 1 commit into from
May 4, 2015

Conversation

egeloen
Copy link

@egeloen egeloen commented May 4, 2015

This PR refines PHPDoc, for example if an uri is not valid, it will throw an \InvalidArgumentException comming from phly/http and in other cases can come from us when I will update the php-http/adapter-core. Additionally, the data can accept a StreamInterface if no files are provided.

@@ -37,7 +37,8 @@ public function sendRequest(RequestInterface $request);
*
* @return ResponseInterface[]
*
* @throws MultiHttpAdapterException If an error occurred.
* @throws \InvalidArgumentException If an request is not valid.
Copy link
Member

Choose a reason for hiding this comment

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

"A" request

@egeloen
Copy link
Author

egeloen commented May 4, 2015

Dropped comments related to exceptions since there are lot of cases where these exceptions can be thrown.

@sagikazarmark
Copy link
Member

👍

egeloen pushed a commit that referenced this pull request May 4, 2015
@egeloen egeloen merged commit 5ea9761 into master May 4, 2015
@egeloen egeloen deleted the refine-phpdoc branch May 4, 2015 20:22
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

Successfully merging this pull request may close these issues.

3 participants