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
@@ -99,6 +99,7 @@ class webservice_function_called extends \core\event\base {
* @return void
*/
protected function validate_data() {
parent::validate_data();
if (!isset($this->other['function'])) {
throw new \coding_exception('The key \'function\' needs to be set in $other.');
}