Skip to content

Commit

Permalink
MDL-26099 fixing the strict standards warning
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mudrd8mz committed Apr 13, 2012
1 parent 9260bb3 commit 2fc04a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/workshop/mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public function definition_after_data() {
* @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
Expand Down

0 comments on commit 2fc04a4

Please sign in to comment.