MDL-26099 fixing the strict standards warning

The signature of mod_workshop_mod_form::validation() is now compatible
with that of moodleform_mod::validation() even though the parent's
declaration sucks. No one can choose their parents.
This commit is contained in:
David Mudrak
2012-04-13 14:04:43 +02:00
parent 9260bb3c48
commit 2fc04a4b9b
+1 -1
View File
@@ -297,7 +297,7 @@ class mod_workshop_mod_form extends moodleform_mod {
* @param array $files submitted files
* @return array eventual errors indexed by the field name
*/
public function validation(array $data, array $files) {
public function validation($data, $files) {
$errors = array();
// check the phases borders are valid