Changes between Initial Version and Version 1 of Ticket #56467, comment 242
- Timestamp:
- 09/27/2022 02:46:14 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56467, comment 242
initial v1 65 65 * If `static::` was not used intentional and can be replaced with `self::`, the callables need to be rewritten to `array( self::class, 'get_individual_property_css_declarations' )`. 66 66 * If `static::` ''was'' used intentionally, an architectural change is needed as the callable cannot be declared like that in the constant. 67 * Changing the constant to a `private` property without the callables and adding them to the array in the class constructor is not an option as the class only contains static method and does not seem to be intended to be instantiated.67 * Changing the constant to a `private` property without the callables and adding them to the array in the class constructor is not an option as the class only contains static methods and does not seem to be intended to be instantiated. 68 68 * Changing the constant to a `private static` property is not an option either, as same as constants and non-static properties, the initial value for a property needs to be ''constant''. 69 69