Skip to content

Minor cleanup #162

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 3 commits into from
Jan 21, 2019
Merged

Minor cleanup #162

merged 3 commits into from
Jan 21, 2019

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Jan 20, 2019

No description provided.

src/Deferred.php Outdated
@@ -14,15 +14,10 @@
final class Deferred implements Promise
{
private $value;

Copy link
Contributor

Choose a reason for hiding this comment

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

imho it would make sense to have phpdoc for the types of all fields here.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you

src/Deferred.php Outdated
private $value;

/**
* @var Exception|null
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be Psr\Http\Client\ClientExceptionInterface ? (i see that for now the type declaration in the method is the httplug exception interface, but psr exception would be future proof...

Copy link
Member Author

Choose a reason for hiding this comment

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

You are correct. Thanks

@dbu dbu merged commit ff46215 into php-http:master Jan 21, 2019
@Nyholm Nyholm deleted the patch-cleanup branch January 21, 2019 07:15
@Nyholm
Copy link
Member Author

Nyholm commented Jan 21, 2019

Thank you

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.

2 participants