MDL-44715 use parent::validate_data() consistently in all events
Includes some minor PHPDocs typo fixes.
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user