Skip to content

Removed incorrect StreamOutput type hint#2

Merged
bachpedersen merged 1 commit intophp-riak:masterfrom
pavelsmolka:master
Apr 11, 2014
Merged

Removed incorrect StreamOutput type hint#2
bachpedersen merged 1 commit intophp-riak:masterfrom
pavelsmolka:master

Conversation

@pavelsmolka
Copy link

StreamOutput stub contained an incorrect type hint. I have
removed it so it's compatible with the actual php_riak library.

Before: public function receive(Output $response);
Now: public function receive($response);

The typehint in PHPDoc comment is still there so the IDE
keeps hinting the Output methods for $response variable.

StreamOutput stub contained an incorrect type hint. I have
removed it so it's compatible with the actual php_riak library.

Before: public function receive(Output $response);
Now:    public function receive($response);

The typehint in PHPDoc comment is still there so the IDE
keeps hinting the Output methods for $response variable.
@bachpedersen
Copy link
Contributor

Thanks for the pr 👍

bachpedersen pushed a commit that referenced this pull request Apr 11, 2014
Removed incorrect StreamOutput type hint
@bachpedersen bachpedersen merged commit 4f8a72e into php-riak:master Apr 11, 2014
@pavelsmolka
Copy link
Author

It would seem to make more sense to actually change the php_riak itself, so it contains the type hint. Once that is done, we should change this back. However, changing php_riak requires some C knowledge I don't have, so I will probably not be able to do PR there. Just saying...

And thanks for the merge!

@bachpedersen
Copy link
Contributor

Yea good point, I created an issue in php_riak just to remember it for next release.

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