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

Regenerated code. (bunq/sdk_php#118) #141

Merged
merged 5 commits into from
Apr 9, 2018
Merged

Regenerated code. (bunq/sdk_php#118) #141

merged 5 commits into from
Apr 9, 2018

Conversation

OGKevin
Copy link
Contributor

@OGKevin OGKevin commented Apr 9, 2018

References #118

@OGKevin OGKevin added this to the 0.13.5 milestone Apr 9, 2018
@OGKevin OGKevin self-assigned this Apr 9, 2018
@OGKevin OGKevin added this to To do in 1.0.0 - SDK via automation Apr 9, 2018
@OGKevin OGKevin requested a review from sandervdo April 9, 2018 08:23
@OGKevin
Copy link
Contributor Author

OGKevin commented Apr 9, 2018

@sandervdo please 👀

Copy link
Contributor

@sandervdo sandervdo left a comment

Choose a reason for hiding this comment

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

*
* @return RequestInquiryReference[]
*/
public function getRequestReferenceSplitTheBill()
Copy link
Contributor

Choose a reason for hiding this comment

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

No return type generated?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You mean type hint ?

No, once we update the min required php version. As these fields can be null.

Copy link
Contributor

Choose a reason for hiding this comment

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

No, return type.. Doc does not specify this function can return null. So which one is wrong?

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea I meant return type hint :P. Well the thing is, the generator can not know if these response field will always be present and therefore add |null as the definitions do no define nullable. If not we would need to add |null to all response fields 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm I see, let's leave it like this then. Sounds like an unnecessary refactor.

*
* @param RequestInquiryReference[] $requestReferenceSplitTheBill
*/
public function setRequestReferenceSplitTheBill($requestReferenceSplitTheBill)
Copy link
Contributor

Choose a reason for hiding this comment

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

Same.

@OGKevin OGKevin moved this from To do to open PR in 1.0.0 - SDK Apr 9, 2018
@OGKevin OGKevin merged commit cd3671a into develop Apr 9, 2018
1.0.0 - SDK automation moved this from open PR to merged Apr 9, 2018
@OGKevin OGKevin deleted the regenerate_code branch April 9, 2018 09:21
@OGKevin
Copy link
Contributor Author

OGKevin commented Apr 9, 2018

@andrederoos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
1.0.0 - SDK
  
merged
Development

Successfully merging this pull request may close these issues.

None yet

2 participants