Actions
Task #38335
closedUseless method overriding in EXT:form
Start date:
2012-06-23
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:
Description
In sysext "form" many methods are implemented twice.
Many methods just call his parents without any modification.
One example is tx_form_System_Validate_Digit::__construct():
/** * Constructor * * @param array $arguments Typoscript configuration * @return void */ public function __construct($arguments) { parent::__construct($arguments); }
This is quite useless, because due OOP, the parent method is called, if the local class does not provide a local / override method.
Actions