From bbd89532e5f3b7a43bbb613dfc4f26c33eaf12a4 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 2 Oct 2016 16:54:01 +0200 Subject: [PATCH] Add `@method` documentation for rebuild data workers --- .../lib/system/worker/ArticleRebuildDataWorker.class.php | 2 ++ .../lib/system/worker/AttachmentRebuildDataWorker.class.php | 2 ++ .../files/lib/system/worker/LikeRebuildDataWorker.class.php | 2 ++ .../lib/system/worker/LikeUserRebuildDataWorker.class.php | 2 ++ .../files/lib/system/worker/PollRebuildDataWorker.class.php | 2 ++ .../lib/system/worker/StatDailyRebuildDataWorker.class.php | 4 +++- .../files/lib/system/worker/UserRebuildDataWorker.class.php | 2 ++ 7 files changed, 15 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/worker/ArticleRebuildDataWorker.class.php b/wcfsetup/install/files/lib/system/worker/ArticleRebuildDataWorker.class.php index 1cf7b375a3..a8e4891f5a 100644 --- a/wcfsetup/install/files/lib/system/worker/ArticleRebuildDataWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/ArticleRebuildDataWorker.class.php @@ -16,6 +16,8 @@ use wcf\system\WCF; * @license GNU Lesser General Public License * @package WoltLabSuite\Core\System\Worker * @since 3.0 + * + * @method ArticleList getObjectList() */ class ArticleRebuildDataWorker extends AbstractRebuildDataWorker { /** diff --git a/wcfsetup/install/files/lib/system/worker/AttachmentRebuildDataWorker.class.php b/wcfsetup/install/files/lib/system/worker/AttachmentRebuildDataWorker.class.php index 8676416d87..208f5679c4 100644 --- a/wcfsetup/install/files/lib/system/worker/AttachmentRebuildDataWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/AttachmentRebuildDataWorker.class.php @@ -11,6 +11,8 @@ use wcf\system\exception\SystemException; * @copyright 2001-2016 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\System\Worker + * + * @method AttachmentList getObjectList() */ class AttachmentRebuildDataWorker extends AbstractRebuildDataWorker { /** diff --git a/wcfsetup/install/files/lib/system/worker/LikeRebuildDataWorker.class.php b/wcfsetup/install/files/lib/system/worker/LikeRebuildDataWorker.class.php index 641fcb00ab..4d17f88685 100644 --- a/wcfsetup/install/files/lib/system/worker/LikeRebuildDataWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/LikeRebuildDataWorker.class.php @@ -12,6 +12,8 @@ use wcf\system\WCF; * @copyright 2001-2016 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\System\Worker + * + * @method LikeList getObjectList() */ class LikeRebuildDataWorker extends AbstractRebuildDataWorker { /** diff --git a/wcfsetup/install/files/lib/system/worker/LikeUserRebuildDataWorker.class.php b/wcfsetup/install/files/lib/system/worker/LikeUserRebuildDataWorker.class.php index 4c598280ff..ac0799a4dc 100644 --- a/wcfsetup/install/files/lib/system/worker/LikeUserRebuildDataWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/LikeUserRebuildDataWorker.class.php @@ -12,6 +12,8 @@ use wcf\system\WCF; * @copyright 2001-2016 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\System\Worker + * + * @method LikeObjectList getObjectList() */ class LikeUserRebuildDataWorker extends AbstractRebuildDataWorker { /** diff --git a/wcfsetup/install/files/lib/system/worker/PollRebuildDataWorker.class.php b/wcfsetup/install/files/lib/system/worker/PollRebuildDataWorker.class.php index f70f3f3033..8f23a4bf6e 100644 --- a/wcfsetup/install/files/lib/system/worker/PollRebuildDataWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/PollRebuildDataWorker.class.php @@ -11,6 +11,8 @@ use wcf\system\WCF; * @copyright 2001-2016 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\System\Worker + * + * @method PollList getObjectList() */ class PollRebuildDataWorker extends AbstractRebuildDataWorker { /** diff --git a/wcfsetup/install/files/lib/system/worker/StatDailyRebuildDataWorker.class.php b/wcfsetup/install/files/lib/system/worker/StatDailyRebuildDataWorker.class.php index 32d8c80715..b1e9596beb 100644 --- a/wcfsetup/install/files/lib/system/worker/StatDailyRebuildDataWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/StatDailyRebuildDataWorker.class.php @@ -28,7 +28,9 @@ class StatDailyRebuildDataWorker extends AbstractRebuildDataWorker { /** * @inheritDoc */ - protected function initObjectList() {} + protected function initObjectList() { + // does nothing + } /** * @inheritDoc diff --git a/wcfsetup/install/files/lib/system/worker/UserRebuildDataWorker.class.php b/wcfsetup/install/files/lib/system/worker/UserRebuildDataWorker.class.php index 0ce57097c9..2199028987 100644 --- a/wcfsetup/install/files/lib/system/worker/UserRebuildDataWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/UserRebuildDataWorker.class.php @@ -20,6 +20,8 @@ use wcf\system\WCF; * @copyright 2001-2016 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\System\Worker + * + * @method UserList getObjectList() */ class UserRebuildDataWorker extends AbstractRebuildDataWorker { /** -- 2.20.1