From 01f96180ff275de6e48f7aec1d9f95933a005ef5 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Wed, 5 Apr 2017 15:15:09 +0800 Subject: [PATCH] MDL-58504 mod_*: fixed PHPDoc return type for *_provide_event_action --- mod/assign/lib.php | 2 +- mod/book/lib.php | 2 +- mod/chat/lib.php | 2 +- mod/choice/lib.php | 2 +- mod/data/lib.php | 2 +- mod/feedback/lib.php | 2 +- mod/folder/lib.php | 2 +- mod/forum/lib.php | 2 +- mod/glossary/lib.php | 2 +- mod/imscp/lib.php | 2 +- mod/label/lib.php | 2 +- mod/lesson/lib.php | 2 +- mod/lti/lib.php | 2 +- mod/page/lib.php | 2 +- mod/quiz/lib.php | 2 +- mod/resource/lib.php | 2 +- mod/scorm/lib.php | 2 +- mod/survey/lib.php | 2 +- mod/url/lib.php | 2 +- mod/wiki/lib.php | 2 +- mod/workshop/lib.php | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/mod/assign/lib.php b/mod/assign/lib.php index 29370af3442..e70bf6f6c76 100644 --- a/mod/assign/lib.php +++ b/mod/assign/lib.php @@ -1775,7 +1775,7 @@ function mod_assign_core_calendar_is_event_visible(calendar_event $event) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_assign_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/book/lib.php b/mod/book/lib.php index 860db5619d2..11821144aca 100644 --- a/mod/book/lib.php +++ b/mod/book/lib.php @@ -708,7 +708,7 @@ function mod_book_get_fontawesome_icon_map() { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_book_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/chat/lib.php b/mod/chat/lib.php index bc4d8639335..4e728dfa4c6 100644 --- a/mod/chat/lib.php +++ b/mod/chat/lib.php @@ -1412,7 +1412,7 @@ function chat_view($chat, $course, $cm, $context) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_chat_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/choice/lib.php b/mod/choice/lib.php index abb250441a5..7f042ee1ba7 100644 --- a/mod/choice/lib.php +++ b/mod/choice/lib.php @@ -1187,7 +1187,7 @@ function choice_check_updates_since(cm_info $cm, $from, $filter = array()) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_choice_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/data/lib.php b/mod/data/lib.php index dc6937e99e2..d9cca40bf0a 100644 --- a/mod/data/lib.php +++ b/mod/data/lib.php @@ -4291,7 +4291,7 @@ function data_check_updates_since(cm_info $cm, $from, $filter = array()) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_data_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/feedback/lib.php b/mod/feedback/lib.php index 8ae3d32826a..c88c89b6a3b 100644 --- a/mod/feedback/lib.php +++ b/mod/feedback/lib.php @@ -3404,7 +3404,7 @@ function feedback_check_updates_since(cm_info $cm, $from, $filter = array()) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_feedback_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/folder/lib.php b/mod/folder/lib.php index 8c2b17beb17..b5491903e0b 100644 --- a/mod/folder/lib.php +++ b/mod/folder/lib.php @@ -781,7 +781,7 @@ function folder_check_updates_since(cm_info $cm, $from, $filter = array()) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_folder_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/forum/lib.php b/mod/forum/lib.php index b66923e37ca..12d17fd0e4a 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -8154,7 +8154,7 @@ function mod_forum_core_calendar_event_action_shows_item_count(calendar_event $e * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_forum_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/glossary/lib.php b/mod/glossary/lib.php index f145becbbe2..064fb0c7c10 100644 --- a/mod/glossary/lib.php +++ b/mod/glossary/lib.php @@ -4175,7 +4175,7 @@ function forum_get_fontawesome_icon_map() { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_glossary_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/imscp/lib.php b/mod/imscp/lib.php index d3c9e4efb29..9ab5de7d77d 100644 --- a/mod/imscp/lib.php +++ b/mod/imscp/lib.php @@ -478,7 +478,7 @@ function imscp_check_updates_since(cm_info $cm, $from, $filter = array()) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_imscp_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/label/lib.php b/mod/label/lib.php index d456100e4ff..cffa7ed49d6 100644 --- a/mod/label/lib.php +++ b/mod/label/lib.php @@ -355,7 +355,7 @@ function label_check_updates_since(cm_info $cm, $from, $filter = array()) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_label_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/lesson/lib.php b/mod/lesson/lib.php index 12c3b6beb3b..2ea97460533 100644 --- a/mod/lesson/lib.php +++ b/mod/lesson/lib.php @@ -1621,7 +1621,7 @@ function lesson_check_updates_since(cm_info $cm, $from, $filter = array()) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_lesson_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/lti/lib.php b/mod/lti/lib.php index 3a4a4e4d300..215be10233d 100644 --- a/mod/lti/lib.php +++ b/mod/lti/lib.php @@ -653,7 +653,7 @@ function mod_lti_get_fontawesome_icon_map() { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_lti_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/page/lib.php b/mod/page/lib.php index ce8ba8074c8..e52401f85f4 100644 --- a/mod/page/lib.php +++ b/mod/page/lib.php @@ -542,7 +542,7 @@ function page_check_updates_since(cm_info $cm, $from, $filter = array()) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_page_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/quiz/lib.php b/mod/quiz/lib.php index 1c523429a6b..3f4784245e6 100644 --- a/mod/quiz/lib.php +++ b/mod/quiz/lib.php @@ -2110,7 +2110,7 @@ function mod_quiz_get_fontawesome_icon_map() { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_quiz_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/resource/lib.php b/mod/resource/lib.php index adbd744fea4..4819901e4c1 100644 --- a/mod/resource/lib.php +++ b/mod/resource/lib.php @@ -557,7 +557,7 @@ function resource_check_updates_since(cm_info $cm, $from, $filter = array()) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_resource_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/scorm/lib.php b/mod/scorm/lib.php index 0d8e2e5c0bf..1afc4a183ee 100644 --- a/mod/scorm/lib.php +++ b/mod/scorm/lib.php @@ -1620,7 +1620,7 @@ function scorm_refresh_events($courseid = 0) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_scorm_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/survey/lib.php b/mod/survey/lib.php index c250ecee74c..66c542d507c 100644 --- a/mod/survey/lib.php +++ b/mod/survey/lib.php @@ -1114,7 +1114,7 @@ function survey_check_updates_since(cm_info $cm, $from, $filter = array()) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_survey_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/url/lib.php b/mod/url/lib.php index b0aa75e9856..5eac9f2c0dd 100644 --- a/mod/url/lib.php +++ b/mod/url/lib.php @@ -380,7 +380,7 @@ function url_check_updates_since(cm_info $cm, $from, $filter = array()) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_url_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/wiki/lib.php b/mod/wiki/lib.php index 24984cd8b81..aed68cee689 100644 --- a/mod/wiki/lib.php +++ b/mod/wiki/lib.php @@ -806,7 +806,7 @@ function mod_wiki_get_fontawesome_icon_map() { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_wiki_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) { diff --git a/mod/workshop/lib.php b/mod/workshop/lib.php index d08b7218e4d..e34a7d6f5a7 100644 --- a/mod/workshop/lib.php +++ b/mod/workshop/lib.php @@ -1791,7 +1791,7 @@ function workshop_calendar_update(stdClass $workshop, $cmid) { * * @param calendar_event $event * @param \core_calendar\action_factory $factory - * @return \core_calendar\local\event\value_objects\action|\core_calendar\local\interfaces\action_interface|null + * @return \core_calendar\local\event\entities\action_interface|null */ function mod_workshop_core_calendar_provide_event_action(calendar_event $event, \core_calendar\action_factory $factory) {