Closed c960657 closed 4 years ago
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.
$holiday->shortName
$substituteHoliday->substitutedHoliday
That is definitely not the right way :) Thanks for the fix!
Done :-)
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.