MDL-69521 core: Move all comments in code from 4.0 to 3.10

This commit is contained in:
Eloy Lafuente (stronk7)
2020-09-06 17:23:58 +02:00
parent 916809d995
commit 709b46dbfd
12 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -3276,7 +3276,7 @@ class admin_setting_configselect extends admin_setting {
* an empty string '' if the value is OK, or an error message if not.
*
* @param callable|null $validatefunction Validate function or null to clear
* @since Moodle 4.0
* @since Moodle 3.10
*/
public function set_validate_function(?callable $validatefunction = null) {
$this->validatefunction = $validatefunction;
@@ -3362,7 +3362,7 @@ class admin_setting_configselect extends admin_setting {
*
* @param string $data New value being set
* @return string Empty string if valid, or error message text
* @since Moodle 4.0
* @since Moodle 3.10
*/
protected function validate_setting(string $data): string {
// If validation function is specified, call it now.