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

Add accessors for shortName and substitutedHoliday #220

Merged
merged 3 commits into from
Jun 8, 2020

Conversation

c960657
Copy link
Contributor

@c960657 c960657 commented Jun 7, 2020

Accessing public properties directly is bad practice and makes refactorings difficult.

This PR adds accessor methods for $holiday->shortName and $substituteHoliday->substitutedHoliday and deprecates direct access to those two properties.

@c960657 c960657 changed the title Accessors Add accessors for shortName and substitutedHoliday Jun 7, 2020
@stelgenhof
Copy link
Member

That is definitely not the right way :) Thanks for the fix!

@stelgenhof stelgenhof added this to the v2.3.0 milestone Jun 8, 2020
Copy link
Member

@stelgenhof stelgenhof left a comment

Choose a reason for hiding this comment

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

Could you perhaps add an entry to the CHANGELOG? Thanks!

@c960657
Copy link
Contributor Author

c960657 commented Jun 8, 2020

Done :-)

@stelgenhof stelgenhof merged commit 066e179 into azuyalabs:develop Jun 8, 2020
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