Closed arogachev closed 7 months ago
Q | A |
---|---|
Is bugfix? | ✔️ |
New feature? | ❌ |
Breaks BC? | ❌ |
Updated method to identify class in AbstractCompare.php The way objects refer to their own names in this class has been updated. This was achieved by modifying the getName method to reference the current class using 'static::class' instead of 'self::class'.
Updated method to identify class in AbstractNumber.php Similarly, the getName method in the AbstractNumber.php class has been updated to use 'static::class'. This allows objects of this class to identify themselves using the most current version of their class, instead of referring to the base version with 'self::class'.
By modifying these getName
methods, the system now has a more accurate way of identifying the class of an object. This update makes the code more flexible for future development and enhancements.