Skip to content
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

Return static. (bunq/sdk_php#73) #74

Merged
merged 2 commits into from
Nov 21, 2017

Conversation

OGKevin
Copy link
Contributor

@OGKevin OGKevin commented Nov 17, 2017

This ensure that the base class is returned instead of BunqModel.

Closes #73

This ensure that the base class is returned instead of BunqModel.
@OGKevin OGKevin self-assigned this Nov 17, 2017
@OGKevin OGKevin added this to the 0.12.4 milestone Nov 17, 2017
@OGKevin OGKevin requested a review from dnl-blkv November 17, 2017 15:07
*/
public static function createFromJsonString(string $json): BunqModel
public static function createFromJsonString(string $json)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can it return anything bunt a BunqModel? Why do we remove the strict return type? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fair enough.

Copy link
Contributor

@dnl-blkv dnl-blkv left a comment

Choose a reason for hiding this comment

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

one comment

@OGKevin
Copy link
Contributor Author

OGKevin commented Nov 21, 2017

@dnl-blkv All yours again 👀

Copy link
Contributor

@dnl-blkv dnl-blkv left a comment

Choose a reason for hiding this comment

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

Looks good!

@dnl-blkv dnl-blkv merged commit d303c7a into develop Nov 21, 2017
@dnl-blkv
Copy link
Contributor

@andrederoos

@dnl-blkv dnl-blkv deleted the feature/return-base-class-bunq/sdk_php#73 branch November 21, 2017 15:07
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.

2 participants