MDL-44715 use parent::validate_data() consistently in all events

Includes some minor PHPDocs typo fixes.
This commit is contained in:
Petr Škoda
2014-03-28 14:09:31 +08:00
parent ad32dda90c
commit 578645aadf
72 changed files with 100 additions and 36 deletions
@@ -84,6 +84,7 @@ class course_reset_started extends \core\event\base {
* @return void
*/
protected function validate_data() {
parent::validate_data();
if (!isset($this->other['reset_options'])) {
throw new \coding_exception('The key reset_options must be set in $other.');
}