From 9c3943b08b5a81528db813334dc1c6fdff7eaa21 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 21 May 2016 11:13:03 +0200 Subject: [PATCH] Replace @see tags with @inheritDoc tags --- .../ConversationParticipantList.class.php | 8 ++-- .../conversation/FeedConversation.class.php | 26 +++++----- .../label/ConversationLabelAction.class.php | 10 ++-- .../ConversationMessageAction.class.php | 48 +++++++++---------- .../SearchResultConversationMessage.class.php | 14 +++--- ...dViewableConversationMessageList.class.php | 4 +- files/lib/form/ConversationAddForm.class.php | 22 ++++----- .../form/ConversationMessageAddForm.class.php | 26 +++++----- .../ConversationMessageEditForm.class.php | 20 ++++---- files/lib/page/ConversationFeedPage.class.php | 4 +- ...ationMessageAttachmentObjectType.class.php | 16 +++---- .../ConversationClipboardAction.class.php | 10 ++-- .../ConversationAttachmentImporter.class.php | 2 +- .../importer/ConversationImporter.class.php | 4 +- .../ConversationLabelImporter.class.php | 4 +- .../ConversationMessageImporter.class.php | 4 +- .../ConversationUserImporter.class.php | 2 +- .../ConversationMessageQuoteHandler.class.php | 2 +- ...sageModerationQueueReportHandler.class.php | 24 +++++----- .../ConversationMessageSearch.class.php | 22 ++++----- ...versationMessageStatDailyHandler.class.php | 2 +- .../ConversationStatDailyHandler.class.php | 2 +- ...tionMessageUserNotificationEvent.class.php | 14 +++--- ...onversationUserNotificationEvent.class.php | 10 ++-- ...ionMessageNotificationObjectType.class.php | 6 +-- ...nversationNotificationObjectType.class.php | 8 ++-- ...ersationMessageRebuildDataWorker.class.php | 8 ++-- .../ConversationRebuildDataWorker.class.php | 8 ++-- 28 files changed, 165 insertions(+), 165 deletions(-) diff --git a/files/lib/data/conversation/ConversationParticipantList.class.php b/files/lib/data/conversation/ConversationParticipantList.class.php index 5095c10..005dfde 100644 --- a/files/lib/data/conversation/ConversationParticipantList.class.php +++ b/files/lib/data/conversation/ConversationParticipantList.class.php @@ -22,7 +22,7 @@ class ConversationParticipantList extends UserProfileList { public $conversationID = 0; /** - * @see \wcf\data\DatabaseObjectList::$sqlLimit + * @inheritDoc */ public $sqlLimit = 0; @@ -53,7 +53,7 @@ class ConversationParticipantList extends UserProfileList { } /** - * @see \wcf\data\DatabaseObjectList::countObjects() + * @inheritDoc */ public function countObjects() { $sql = "SELECT COUNT(*) AS count @@ -67,7 +67,7 @@ class ConversationParticipantList extends UserProfileList { } /** - * @see \wcf\data\DatabaseObjectList::readObjectIDs() + * @inheritDoc */ public function readObjectIDs() { $this->objectIDs = []; @@ -82,7 +82,7 @@ class ConversationParticipantList extends UserProfileList { } /** - * @see \wcf\data\user\UserProfileList::readObjects() + * @inheritDoc */ public function readObjects() { parent::readObjects(); diff --git a/files/lib/data/conversation/FeedConversation.class.php b/files/lib/data/conversation/FeedConversation.class.php index 0303e02..cdccbfc 100644 --- a/files/lib/data/conversation/FeedConversation.class.php +++ b/files/lib/data/conversation/FeedConversation.class.php @@ -16,12 +16,12 @@ use wcf\system\request\LinkHandler; */ class FeedConversation extends DatabaseObjectDecorator implements IFeedEntry { /** - * @see \wcf\data\DatabaseObjectDecorator::$baseClass + * @inheritDoc */ protected static $baseClass = 'wcf\data\conversation\Conversation'; /** - * @see \wcf\data\ILinkableObject::getLink() + * @inheritDoc */ public function getLink() { return LinkHandler::getInstance()->getLink('Conversation', [ @@ -32,77 +32,77 @@ class FeedConversation extends DatabaseObjectDecorator implements IFeedEntry { } /** - * @see \wcf\data\ITitledObject::getTitle() + * @inheritDoc */ public function getTitle() { return $this->getDecoratedObject()->getTitle(); } /** - * @see \wcf\data\IMessage::getFormattedMessage() + * @inheritDoc */ public function getFormattedMessage() { return ''; } /** - * @see \wcf\data\IMessage::getMessage() + * @inheritDoc */ public function getMessage() { return ''; } /** - * @see \wcf\data\IMessage::getExcerpt() + * @inheritDoc */ public function getExcerpt($maxLength = 255) { return ''; } /** - * @see \wcf\data\IMessage::getUserID() + * @inheritDoc */ public function getUserID() { return $this->getDecoratedObject()->lastPosterID; } /** - * @see \wcf\data\IMessage::getUsername() + * @inheritDoc */ public function getUsername() { return $this->getDecoratedObject()->lastPoster; } /** - * @see \wcf\data\IMessage::getTime() + * @inheritDoc */ public function getTime() { return $this->getDecoratedObject()->lastPostTime; } /** - * @see \wcf\data\IMessage::__toString() + * @inheritDoc */ public function __toString() { return $this->getDecoratedObject()->__toString(); } /** - * @see \wcf\data\IFeedEntry::getComments() + * @inheritDoc */ public function getComments() { return $this->replies; } /** - * @see \wcf\data\IFeedEntry::getCategories() + * @inheritDoc */ public function getCategories() { return []; } /** - * @see \wcf\data\IMessage::isVisible() + * @inheritDoc */ public function isVisible() { return $this->canRead(); diff --git a/files/lib/data/conversation/label/ConversationLabelAction.class.php b/files/lib/data/conversation/label/ConversationLabelAction.class.php index fdb905c..d3abaf3 100644 --- a/files/lib/data/conversation/label/ConversationLabelAction.class.php +++ b/files/lib/data/conversation/label/ConversationLabelAction.class.php @@ -23,17 +23,17 @@ use wcf\util\StringUtil; */ class ConversationLabelAction extends AbstractDatabaseObjectAction { /** - * @see \wcf\data\AbstractDatabaseObjectAction::$className + * @inheritDoc */ protected $className = 'wcf\data\conversation\label\ConversationLabelEditor'; /** - * @see \wcf\data\AbstractDatabaseObjectAction::$permissionsDelete + * @inheritDoc */ protected $permissionsDelete = ['user.conversation.canUseConversation']; /** - * @see \wcf\data\AbstractDatabaseObjectAction::$permissionsUpdate + * @inheritDoc */ protected $permissionsUpdate = ['user.conversation.canUseConversation']; @@ -50,7 +50,7 @@ class ConversationLabelAction extends AbstractDatabaseObjectAction { public $labelList = null; /** - * @see \wcf\data\AbstractDatabaseObjectAction::validateUpdate() + * @inheritDoc */ public function validateUpdate() { parent::validateUpdate(); @@ -66,7 +66,7 @@ class ConversationLabelAction extends AbstractDatabaseObjectAction { } /** - * @see \wcf\data\AbstractDatabaseObjectAction::validateDelete() + * @inheritDoc */ public function validateDelete() { parent::validateDelete(); diff --git a/files/lib/data/conversation/message/ConversationMessageAction.class.php b/files/lib/data/conversation/message/ConversationMessageAction.class.php index 8a183d8..6e8b229 100644 --- a/files/lib/data/conversation/message/ConversationMessageAction.class.php +++ b/files/lib/data/conversation/message/ConversationMessageAction.class.php @@ -41,7 +41,7 @@ use wcf\util\StringUtil; */ class ConversationMessageAction extends AbstractDatabaseObjectAction implements IAttachmentMessageQuickReplyAction, IMessageInlineEditorAction, IMessageQuoteAction { /** - * @see \wcf\data\AbstractDatabaseObjectAction::$className + * @inheritDoc */ protected $className = 'wcf\data\conversation\message\ConversationMessageEditor'; @@ -58,7 +58,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements public $message = null; /** - * @see \wcf\data\AbstractDatabaseObjectAction::create() + * @inheritDoc */ public function create() { // count attachments @@ -155,7 +155,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\AbstractDatabaseObjectAction::update() + * @inheritDoc */ public function update() { // count attachments @@ -181,7 +181,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\AbstractDatabaseObjectAction::delete() + * @inheritDoc */ public function delete() { $count = parent::delete(); @@ -226,7 +226,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageQuickReply::validateQuickReply() + * @inheritDoc */ public function validateQuickReply() { QuickReplyManager::getInstance()->setAllowedBBCodes(explode(',', WCF::getSession()->getPermission('user.message.allowedBBCodes'))); @@ -234,7 +234,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageQuickReply::quickReply() + * @inheritDoc */ public function quickReply() { return QuickReplyManager::getInstance()->createMessage( @@ -247,7 +247,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IExtendedMessageQuickReplyAction::validateJumpToExtended() + * @inheritDoc */ public function validateJumpToExtended() { $this->readInteger('containerID'); @@ -276,7 +276,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IExtendedMessageQuickReplyAction::jumpToExtended() + * @inheritDoc */ public function jumpToExtended() { // quick reply @@ -301,7 +301,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageInlineEditorAction::validateBeginEdit() + * @inheritDoc */ public function validateBeginEdit() { $this->readInteger('containerID'); @@ -327,7 +327,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageInlineEditorAction::beginEdit() + * @inheritDoc */ public function beginEdit() { BBCodeHandler::getInstance()->setAllowedBBCodes(explode(',', WCF::getSession()->getPermission('user.message.allowedBBCodes'))); @@ -361,7 +361,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageInlineEditorAction::validateSave() + * @inheritDoc */ public function validateSave() { $this->readString('message', true, 'data'); @@ -375,7 +375,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageInlineEditorAction::save() + * @inheritDoc */ public function save() { $data = [ @@ -433,7 +433,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageQuickReply::validateContainer() + * @inheritDoc */ public function validateContainer(DatabaseObject $conversation) { if (!$conversation->conversationID) { @@ -449,7 +449,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageQuickReplyAction::validateMessage() + * @inheritDoc */ public function validateMessage(DatabaseObject $container, $message) { if (mb_strlen($message) > WCF::getSession()->getPermission('user.conversation.maxLength')) { @@ -472,7 +472,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageQuickReplyAction::getMessageList() + * @inheritDoc */ public function getMessageList(DatabaseObject $conversation, $lastMessageTime) { $messageList = new ViewableConversationMessageList(); @@ -486,7 +486,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageQuickReply::getPageNo() + * @inheritDoc */ public function getPageNo(DatabaseObject $conversation) { $sql = "SELECT COUNT(*) AS count @@ -500,7 +500,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageQuickReply::getRedirectUrl() + * @inheritDoc */ public function getRedirectUrl(DatabaseObject $conversation, DatabaseObject $message) { return LinkHandler::getInstance()->getLink('Conversation', [ @@ -510,7 +510,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageQuoteAction::validateSaveFullQuote() + * @inheritDoc */ public function validateSaveFullQuote() { $this->message = $this->getSingleObject(); @@ -521,7 +521,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageQuoteAction::saveFullQuote() + * @inheritDoc */ public function saveFullQuote() { $quoteID = MessageQuoteManager::getInstance()->addQuote( @@ -550,7 +550,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageQuoteAction::validateSaveQuote() + * @inheritDoc */ public function validateSaveQuote() { $this->readString('message'); @@ -563,7 +563,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageQuoteAction::saveQuote() + * @inheritDoc */ public function saveQuote() { $quoteID = MessageQuoteManager::getInstance()->addQuote('com.woltlab.wcf.conversation.message', $this->message->conversationID, $this->message->messageID, $this->parameters['message'], false); @@ -581,7 +581,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageQuoteAction::validateGetRenderedQuotes() + * @inheritDoc */ public function validateGetRenderedQuotes() { $this->readInteger('parentObjectID'); @@ -593,7 +593,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IMessageQuoteAction::getRenderedQuotes() + * @inheritDoc */ public function getRenderedQuotes() { $quotes = MessageQuoteManager::getInstance()->getQuotesByParentObjectID('com.woltlab.wcf.conversation.message', $this->conversation->conversationID); @@ -604,7 +604,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements } /** - * @see \wcf\data\IAttachmentMessageQuickReplyAction::getAttachmentHandler() + * @inheritDoc */ public function getAttachmentHandler(DatabaseObject $conversation) { return new AttachmentHandler('com.woltlab.wcf.conversation.message', 0, $this->parameters['tmpHash']); diff --git a/files/lib/data/conversation/message/SearchResultConversationMessage.class.php b/files/lib/data/conversation/message/SearchResultConversationMessage.class.php index d066841..d3e658c 100644 --- a/files/lib/data/conversation/message/SearchResultConversationMessage.class.php +++ b/files/lib/data/conversation/message/SearchResultConversationMessage.class.php @@ -39,21 +39,21 @@ class SearchResultConversationMessage extends ViewableConversationMessage implem } /** - * @see \wcf\data\conversation\message\ConversationMessage::getFormattedMessage() + * @inheritDoc */ public function getFormattedMessage() { return SearchResultTextParser::getInstance()->parse($this->getDecoratedObject()->getSimplifiedFormattedMessage()); } /** - * @see \wcf\data\search\ISearchResultObject::getSubject() + * @inheritDoc */ public function getSubject() { return $this->subject; } /** - * @see \wcf\data\search\ISearchResultObject::getLink() + * @inheritDoc */ public function getLink($query = '') { if ($query) { @@ -68,28 +68,28 @@ class SearchResultConversationMessage extends ViewableConversationMessage implem } /** - * @see \wcf\data\search\ISearchResultObject::getTime() + * @inheritDoc */ public function getTime() { return $this->time; } /** - * @see \wcf\data\search\ISearchResultObject::getObjectTypeName() + * @inheritDoc */ public function getObjectTypeName() { return 'com.woltlab.wcf.conversation.message'; } /** - * @see \wcf\data\search\ISearchResultObject::getContainerTitle() + * @inheritDoc */ public function getContainerTitle() { return ''; } /** - * @see \wcf\data\search\ISearchResultObject::getContainerLink() + * @inheritDoc */ public function getContainerLink() { return ''; diff --git a/files/lib/data/conversation/message/SimplifiedViewableConversationMessageList.class.php b/files/lib/data/conversation/message/SimplifiedViewableConversationMessageList.class.php index 7861076..ab52590 100644 --- a/files/lib/data/conversation/message/SimplifiedViewableConversationMessageList.class.php +++ b/files/lib/data/conversation/message/SimplifiedViewableConversationMessageList.class.php @@ -14,12 +14,12 @@ namespace wcf\data\conversation\message; */ class SimplifiedViewableConversationMessageList extends ViewableConversationMessageList { /** - * @see \wcf\data\conversation\message\ViewableConversationMessageList::$attachmentLoading + * @inheritDoc */ protected $attachmentLoading = false; /** - * @see \wcf\data\conversation\message\ViewableConversationMessageList::$embeddedObjectLoading + * @inheritDoc */ protected $embeddedObjectLoading = false; } diff --git a/files/lib/form/ConversationAddForm.class.php b/files/lib/form/ConversationAddForm.class.php index b9d191c..7a5e40c 100644 --- a/files/lib/form/ConversationAddForm.class.php +++ b/files/lib/form/ConversationAddForm.class.php @@ -26,27 +26,27 @@ use wcf\util\StringUtil; */ class ConversationAddForm extends MessageForm { /** - * @see \wcf\page\AbstractPage::$enableTracking + * @inheritDoc */ public $enableTracking = true; /** - * @see \wcf\form\MessageForm::$attachmentObjectType + * @inheritDoc */ public $attachmentObjectType = 'com.woltlab.wcf.conversation.message'; /** - * @see \wcf\page\AbstractPage::$loginRequired + * @inheritDoc */ public $loginRequired = true; /** - * @see \wcf\page\AbstractPage::$neededModules + * @inheritDoc */ public $neededModules = ['MODULE_CONVERSATION']; /** - * @see \wcf\page\AbstractPage::$neededPermissions + * @inheritDoc */ public $neededPermissions = ['user.conversation.canUseConversation']; @@ -87,7 +87,7 @@ class ConversationAddForm extends MessageForm { public $invisibleParticipantIDs = []; /** - * @see \wcf\page\IPage::readParameters() + * @inheritDoc */ public function readParameters() { parent::readParameters(); @@ -125,7 +125,7 @@ class ConversationAddForm extends MessageForm { } /** - * @see \wcf\form\IForm::readFormParameters() + * @inheritDoc */ public function readFormParameters() { parent::readFormParameters(); @@ -140,7 +140,7 @@ class ConversationAddForm extends MessageForm { } /** - * @see \wcf\form\IForm::validate() + * @inheritDoc */ public function validate() { if (empty($this->participants) && empty($this->invisibleParticipants) && !$this->draft) { @@ -177,7 +177,7 @@ class ConversationAddForm extends MessageForm { } /** - * @see \wcf\form\IForm::save() + * @inheritDoc */ public function save() { parent::save(); @@ -229,7 +229,7 @@ class ConversationAddForm extends MessageForm { } /** - * @see \wcf\page\IPage::readData() + * @inheritDoc */ public function readData() { parent::readData(); @@ -239,7 +239,7 @@ class ConversationAddForm extends MessageForm { } /** - * @see \wcf\page\IPage::assignVariables() + * @inheritDoc */ public function assignVariables() { parent::assignVariables(); diff --git a/files/lib/form/ConversationMessageAddForm.class.php b/files/lib/form/ConversationMessageAddForm.class.php index f5664fd..db270c7 100644 --- a/files/lib/form/ConversationMessageAddForm.class.php +++ b/files/lib/form/ConversationMessageAddForm.class.php @@ -25,27 +25,27 @@ use wcf\util\HeaderUtil; */ class ConversationMessageAddForm extends MessageForm { /** - * @see \wcf\page\AbstractPage::$enableTracking + * @inheritDoc */ public $enableTracking = true; /** - * @see \wcf\form\MessageForm::$attachmentObjectType + * @inheritDoc */ public $attachmentObjectType = 'com.woltlab.wcf.conversation.message'; /** - * @see \wcf\page\AbstractPage::$loginRequired + * @inheritDoc */ public $loginRequired = true; /** - * @see \wcf\page\AbstractPage::$neededModules + * @inheritDoc */ public $neededModules = ['MODULE_CONVERSATION']; /** - * @see \wcf\page\AbstractPage::$neededPermissions + * @inheritDoc */ public $neededPermissions = ['user.conversation.canUseConversation']; @@ -68,7 +68,7 @@ class ConversationMessageAddForm extends MessageForm { public $messageList = null; /** - * @see \wcf\form\IPage::readParameters() + * @inheritDoc */ public function readParameters() { parent::readParameters(); @@ -87,7 +87,7 @@ class ConversationMessageAddForm extends MessageForm { } /** - * @see \wcf\form\IForm::readFormParameters() + * @inheritDoc */ public function readFormParameters() { parent::readFormParameters(); @@ -97,12 +97,12 @@ class ConversationMessageAddForm extends MessageForm { } /** - * @see \wcf\form\MessageForm::validateSubject() + * @inheritDoc */ protected function validateSubject() {} /** - * @see \wcf\page\IPage::readData() + * @inheritDoc */ public function readData() { parent::readData(); @@ -154,7 +154,7 @@ class ConversationMessageAddForm extends MessageForm { } /** - * @see \wcf\form\IForm::save() + * @inheritDoc */ public function save() { parent::save(); @@ -193,7 +193,7 @@ class ConversationMessageAddForm extends MessageForm { } /** - * @see \wcf\page\IPage::assignVariables() + * @inheritDoc */ public function assignVariables() { parent::assignVariables(); @@ -210,14 +210,14 @@ class ConversationMessageAddForm extends MessageForm { } /** - * @see \wcf\page\ITrackablePage::getObjectType() + * @inheritDoc */ public function getObjectType() { return 'com.woltlab.wcf.conversation'; } /** - * @see \wcf\page\ITrackablePage::getObjectID() + * @inheritDoc */ public function getObjectID() { return $this->conversationID; diff --git a/files/lib/form/ConversationMessageEditForm.class.php b/files/lib/form/ConversationMessageEditForm.class.php index 8406833..3d19cfd 100644 --- a/files/lib/form/ConversationMessageEditForm.class.php +++ b/files/lib/form/ConversationMessageEditForm.class.php @@ -24,7 +24,7 @@ use wcf\util\HeaderUtil; */ class ConversationMessageEditForm extends ConversationAddForm { /** - * @see \wcf\page\AbstractPage::$templateName + * @inheritDoc */ public $templateName = 'conversationMessageEdit'; @@ -65,7 +65,7 @@ class ConversationMessageEditForm extends ConversationAddForm { public $isFirstMessage = false; /** - * @see \wcf\form\IPage::readParameters() + * @inheritDoc */ public function readParameters() { MessageForm::readParameters(); @@ -91,7 +91,7 @@ class ConversationMessageEditForm extends ConversationAddForm { } /** - * @see \wcf\form\IForm::readFormParameters() + * @inheritDoc */ public function readFormParameters() { parent::readFormParameters(); @@ -100,7 +100,7 @@ class ConversationMessageEditForm extends ConversationAddForm { } /** - * @see \wcf\form\IForm::validate() + * @inheritDoc */ public function validate() { if ($this->isFirstMessage && $this->conversation->isDraft) parent::validate(); @@ -108,14 +108,14 @@ class ConversationMessageEditForm extends ConversationAddForm { } /** - * @see \wcf\form\MessageForm::validateSubject() + * @inheritDoc */ protected function validateSubject() { if ($this->isFirstMessage) parent::validateSubject(); } /** - * @see \wcf\form\IForm::save() + * @inheritDoc */ public function save() { MessageForm::save(); @@ -180,7 +180,7 @@ class ConversationMessageEditForm extends ConversationAddForm { } /** - * @see \wcf\page\IPage::readData() + * @inheritDoc */ public function readData() { MessageForm::readData(); @@ -225,7 +225,7 @@ class ConversationMessageEditForm extends ConversationAddForm { } /** - * @see \wcf\page\IPage::assignVariables() + * @inheritDoc */ public function assignVariables() { parent::assignVariables(); @@ -243,14 +243,14 @@ class ConversationMessageEditForm extends ConversationAddForm { } /** - * @see \wcf\page\ITrackablePage::getObjectType() + * @inheritDoc */ public function getObjectType() { return 'com.woltlab.wcf.conversation'; } /** - * @see \wcf\page\ITrackablePage::getObjectID() + * @inheritDoc */ public function getObjectID() { return $this->conversationID; diff --git a/files/lib/page/ConversationFeedPage.class.php b/files/lib/page/ConversationFeedPage.class.php index 3d0c93a..ef62a93 100644 --- a/files/lib/page/ConversationFeedPage.class.php +++ b/files/lib/page/ConversationFeedPage.class.php @@ -15,12 +15,12 @@ use wcf\system\WCF; */ class ConversationFeedPage extends AbstractFeedPage { /** - * @see \wcf\page\AbstractPage::$loginRequired + * @inheritDoc */ public $loginRequired = true; /** - * @see \wcf\page\IPage::readData() + * @inheritDoc */ public function readData() { parent::readData(); diff --git a/files/lib/system/attachment/ConversationMessageAttachmentObjectType.class.php b/files/lib/system/attachment/ConversationMessageAttachmentObjectType.class.php index 5f4753c..3f00e02 100644 --- a/files/lib/system/attachment/ConversationMessageAttachmentObjectType.class.php +++ b/files/lib/system/attachment/ConversationMessageAttachmentObjectType.class.php @@ -18,28 +18,28 @@ use wcf\util\ArrayUtil; */ class ConversationMessageAttachmentObjectType extends AbstractAttachmentObjectType { /** - * @see \wcf\system\attachment\IAttachmentObjectType::getMaxSize() + * @inheritDoc */ public function getMaxSize() { return WCF::getSession()->getPermission('user.conversation.maxAttachmentSize'); } /** - * @see \wcf\system\attachment\IAttachmentObjectType::getAllowedExtensions() + * @inheritDoc */ public function getAllowedExtensions() { return ArrayUtil::trim(explode("\n", WCF::getSession()->getPermission('user.conversation.allowedAttachmentExtensions'))); } /** - * @see \wcf\system\attachment\IAttachmentObjectType::getMaxCount() + * @inheritDoc */ public function getMaxCount() { return WCF::getSession()->getPermission('user.conversation.maxAttachmentCount'); } /** - * @see \wcf\system\attachment\IAttachmentObjectType::canDownload() + * @inheritDoc */ public function canDownload($objectID) { if ($objectID) { @@ -52,7 +52,7 @@ class ConversationMessageAttachmentObjectType extends AbstractAttachmentObjectTy } /** - * @see \wcf\system\attachment\IAttachmentObjectType::canUpload() + * @inheritDoc */ public function canUpload($objectID, $parentObjectID = 0) { if (!WCF::getSession()->getPermission('user.conversation.canUploadAttachment')) { @@ -69,7 +69,7 @@ class ConversationMessageAttachmentObjectType extends AbstractAttachmentObjectTy } /** - * @see \wcf\system\attachment\IAttachmentObjectType::canDelete() + * @inheritDoc */ public function canDelete($objectID) { if ($objectID) { @@ -81,7 +81,7 @@ class ConversationMessageAttachmentObjectType extends AbstractAttachmentObjectTy } /** - * @see \wcf\system\attachment\IAttachmentObjectType::cacheObjects() + * @inheritDoc */ public function cacheObjects(array $objectIDs) { $messageList = new ConversationMessageList(); @@ -104,7 +104,7 @@ class ConversationMessageAttachmentObjectType extends AbstractAttachmentObjectTy } /** - * @see \wcf\system\attachment\IAttachmentObjectType::setPermissions() + * @inheritDoc */ public function setPermissions(array $attachments) { $messageIDs = []; diff --git a/files/lib/system/clipboard/action/ConversationClipboardAction.class.php b/files/lib/system/clipboard/action/ConversationClipboardAction.class.php index e5616cc..3238dc2 100644 --- a/files/lib/system/clipboard/action/ConversationClipboardAction.class.php +++ b/files/lib/system/clipboard/action/ConversationClipboardAction.class.php @@ -17,7 +17,7 @@ use wcf\system\WCF; */ class ConversationClipboardAction extends AbstractClipboardAction { /** - * @see \wcf\system\clipboard\action\AbstractClipboardAction::$actionClassActions + * @inheritDoc */ protected $actionClassActions = ['close', 'markAsRead', 'open']; @@ -28,12 +28,12 @@ class ConversationClipboardAction extends AbstractClipboardAction { public $conversations = null; /** - * @see \wcf\system\clipboard\action\AbstractClipboardAction::$supportedActions + * @inheritDoc */ protected $supportedActions = ['assignLabel', 'close', 'leave', 'leavePermanently', 'markAsRead', 'open', 'restore']; /** - * @see \wcf\system\clipboard\action\IClipboardAction::execute() + * @inheritDoc */ public function execute(array $objects, ClipboardAction $action) { if ($this->conversations === null) { @@ -101,14 +101,14 @@ class ConversationClipboardAction extends AbstractClipboardAction { } /** - * @see \wcf\system\clipboard\action\IClipboardAction::getClassName() + * @inheritDoc */ public function getClassName() { return 'wcf\data\conversation\ConversationAction'; } /** - * @see \wcf\system\clipboard\action\IClipboardAction::getTypeName() + * @inheritDoc */ public function getTypeName() { return 'com.woltlab.wcf.conversation.conversation'; diff --git a/files/lib/system/importer/ConversationAttachmentImporter.class.php b/files/lib/system/importer/ConversationAttachmentImporter.class.php index 4f6a67d..1f79112 100644 --- a/files/lib/system/importer/ConversationAttachmentImporter.class.php +++ b/files/lib/system/importer/ConversationAttachmentImporter.class.php @@ -24,7 +24,7 @@ class ConversationAttachmentImporter extends AbstractAttachmentImporter { } /** - * @see \wcf\system\importer\IImporter::import() + * @inheritDoc */ public function import($oldID, array $data, array $additionalData = []) { $data['objectID'] = ImportHandler::getInstance()->getNewID('com.woltlab.wcf.conversation.message', $data['objectID']); diff --git a/files/lib/system/importer/ConversationImporter.class.php b/files/lib/system/importer/ConversationImporter.class.php index 7d69e2c..da9a08f 100644 --- a/files/lib/system/importer/ConversationImporter.class.php +++ b/files/lib/system/importer/ConversationImporter.class.php @@ -15,12 +15,12 @@ use wcf\data\conversation\ConversationEditor; */ class ConversationImporter extends AbstractImporter { /** - * @see \wcf\system\importer\AbstractImporter::$className + * @inheritDoc */ protected $className = 'wcf\data\conversation\Conversation'; /** - * @see \wcf\system\importer\IImporter::import() + * @inheritDoc */ public function import($oldID, array $data, array $additionalData = []) { $oldUserID = $data['userID']; diff --git a/files/lib/system/importer/ConversationLabelImporter.class.php b/files/lib/system/importer/ConversationLabelImporter.class.php index b5a24f3..f85ca12 100644 --- a/files/lib/system/importer/ConversationLabelImporter.class.php +++ b/files/lib/system/importer/ConversationLabelImporter.class.php @@ -14,12 +14,12 @@ use wcf\data\conversation\label\ConversationLabelAction; */ class ConversationLabelImporter extends AbstractImporter { /** - * @see \wcf\system\importer\AbstractImporter::$className + * @inheritDoc */ protected $className = 'wcf\data\conversation\label\ConversationLabel'; /** - * @see \wcf\system\importer\IImporter::import() + * @inheritDoc */ public function import($oldID, array $data, array $additionalData = []) { $data['userID'] = ImportHandler::getInstance()->getNewID('com.woltlab.wcf.user', $data['userID']); diff --git a/files/lib/system/importer/ConversationMessageImporter.class.php b/files/lib/system/importer/ConversationMessageImporter.class.php index 79609cf..0d68f60 100644 --- a/files/lib/system/importer/ConversationMessageImporter.class.php +++ b/files/lib/system/importer/ConversationMessageImporter.class.php @@ -15,12 +15,12 @@ use wcf\data\conversation\message\ConversationMessageEditor; */ class ConversationMessageImporter extends AbstractImporter { /** - * @see \wcf\system\importer\AbstractImporter::$className + * @inheritDoc */ protected $className = 'wcf\data\conversation\message\ConversationMessage'; /** - * @see \wcf\system\importer\IImporter::import() + * @inheritDoc */ public function import($oldID, array $data, array $additionalData = []) { $data['conversationID'] = ImportHandler::getInstance()->getNewID('com.woltlab.wcf.conversation', $data['conversationID']); diff --git a/files/lib/system/importer/ConversationUserImporter.class.php b/files/lib/system/importer/ConversationUserImporter.class.php index 39d3fb4..e9df068 100644 --- a/files/lib/system/importer/ConversationUserImporter.class.php +++ b/files/lib/system/importer/ConversationUserImporter.class.php @@ -14,7 +14,7 @@ use wcf\system\WCF; */ class ConversationUserImporter extends AbstractImporter { /** - * @see \wcf\system\importer\IImporter::import() + * @inheritDoc */ public function import($oldID, array $data, array $additionalData = []) { $data['conversationID'] = ImportHandler::getInstance()->getNewID('com.woltlab.wcf.conversation', $data['conversationID']); diff --git a/files/lib/system/message/quote/ConversationMessageQuoteHandler.class.php b/files/lib/system/message/quote/ConversationMessageQuoteHandler.class.php index 51fd421..41d8e56 100644 --- a/files/lib/system/message/quote/ConversationMessageQuoteHandler.class.php +++ b/files/lib/system/message/quote/ConversationMessageQuoteHandler.class.php @@ -15,7 +15,7 @@ use wcf\data\conversation\ConversationList; */ class ConversationMessageQuoteHandler extends AbstractMessageQuoteHandler { /** - * @see \wcf\system\message\quote\AbstractMessageQuoteHandler::getMessages() + * @inheritDoc */ protected function getMessages(array $data) { // read messages diff --git a/files/lib/system/moderation/queue/report/ConversationMessageModerationQueueReportHandler.class.php b/files/lib/system/moderation/queue/report/ConversationMessageModerationQueueReportHandler.class.php index e38c08e..5485de0 100644 --- a/files/lib/system/moderation/queue/report/ConversationMessageModerationQueueReportHandler.class.php +++ b/files/lib/system/moderation/queue/report/ConversationMessageModerationQueueReportHandler.class.php @@ -24,17 +24,17 @@ use wcf\system\WCF; */ class ConversationMessageModerationQueueReportHandler extends AbstractModerationQueueHandler implements IModerationQueueReportHandler { /** - * @see \wcf\system\moderation\queue\AbstractModerationQueueHandler::$className + * @inheritDoc */ protected $className = 'wcf\data\conversation\message\ConversationMessage'; /** - * @see \wcf\system\moderation\queue\AbstractModerationQueueHandler::$definitionName + * @inheritDoc */ protected $definitionName = 'com.woltlab.wcf.moderation.report'; /** - * @see \wcf\system\moderation\queue\AbstractModerationQueueHandler::$objectType + * @inheritDoc */ protected $objectType = 'com.woltlab.wcf.conversation.message'; @@ -45,12 +45,12 @@ class ConversationMessageModerationQueueReportHandler extends AbstractModeration protected static $messages = []; /** - * @see \wcf\system\moderation\queue\AbstractModerationQueueHandler::$requiredPermission + * @inheritDoc */ protected $requiredPermission = 'mod.conversation.canModerateConversation'; /** - * @see \wcf\system\moderation\queue\IModerationQueueHandler::assignQueues() + * @inheritDoc */ public function assignQueues(array $queues) { $assignments = []; @@ -67,7 +67,7 @@ class ConversationMessageModerationQueueReportHandler extends AbstractModeration } /** - * @see \wcf\system\moderation\queue\report\IModerationQueueReportHandler::canReport() + * @inheritDoc */ public function canReport($objectID) { if (!$this->isValid($objectID)) { @@ -82,14 +82,14 @@ class ConversationMessageModerationQueueReportHandler extends AbstractModeration } /** - * @see \wcf\system\moderation\queue\IModerationQueueHandler::getContainerID() + * @inheritDoc */ public function getContainerID($objectID) { return 0; } /** - * @see \wcf\system\moderation\queue\report\IModerationQueueReportHandler::getReportedContent() + * @inheritDoc */ public function getReportedContent(ViewableModerationQueue $queue) { WCF::getTPL()->assign([ @@ -100,7 +100,7 @@ class ConversationMessageModerationQueueReportHandler extends AbstractModeration } /** - * @see \wcf\system\moderation\queue\report\IModerationQueueReportHandler::getReportedObject() + * @inheritDoc */ public function getReportedObject($objectID) { if ($this->isValid($objectID)) { @@ -111,7 +111,7 @@ class ConversationMessageModerationQueueReportHandler extends AbstractModeration } /** - * @see \wcf\system\moderation\queue\IModerationQueueHandler::isValid() + * @inheritDoc */ public function isValid($objectID) { if ($this->getMessage($objectID) === null) { @@ -139,7 +139,7 @@ class ConversationMessageModerationQueueReportHandler extends AbstractModeration } /** - * @see \wcf\system\moderation\queue\IModerationQueueHandler::populate() + * @inheritDoc */ public function populate(array $queues) { $objectIDs = []; @@ -184,7 +184,7 @@ class ConversationMessageModerationQueueReportHandler extends AbstractModeration } /** - * @see \wcf\system\moderation\queue\IModerationQueueHandler::removeContent() + * @inheritDoc */ public function removeContent(ModerationQueue $queue, $message) { if ($this->isValid($queue->objectID)) { diff --git a/files/lib/system/search/ConversationMessageSearch.class.php b/files/lib/system/search/ConversationMessageSearch.class.php index b9d2bf5..0ff5706 100644 --- a/files/lib/system/search/ConversationMessageSearch.class.php +++ b/files/lib/system/search/ConversationMessageSearch.class.php @@ -37,7 +37,7 @@ class ConversationMessageSearch extends AbstractSearchableObjectType { public $messageCache = []; /** - * @see \wcf\system\search\ISearchableObjectType::cacheObjects() + * @inheritDoc */ public function cacheObjects(array $objectIDs, array $additionalData = null) { $messageList = new SearchResultConversationMessageList(); @@ -49,7 +49,7 @@ class ConversationMessageSearch extends AbstractSearchableObjectType { } /** - * @see \wcf\system\search\ISearchableObjectType::getAdditionalData() + * @inheritDoc */ public function getAdditionalData() { return [ @@ -58,7 +58,7 @@ class ConversationMessageSearch extends AbstractSearchableObjectType { } /** - * @see \wcf\system\search\ISearchableObjectType::getObject() + * @inheritDoc */ public function getObject($objectID) { if (isset($this->messageCache[$objectID])) return $this->messageCache[$objectID]; @@ -66,7 +66,7 @@ class ConversationMessageSearch extends AbstractSearchableObjectType { } /** - * @see \wcf\system\search\ISearchableObjectType::getJoins() + * @inheritDoc */ public function getJoins() { return "JOIN wcf".WCF_N."_conversation_to_user conversation_to_user ON (conversation_to_user.participantID = ".WCF::getUser()->userID." AND conversation_to_user.conversationID = ".$this->getTableName().".conversationID) @@ -74,28 +74,28 @@ class ConversationMessageSearch extends AbstractSearchableObjectType { } /** - * @see \wcf\system\search\ISearchableObjectType::getTableName() + * @inheritDoc */ public function getTableName() { return 'wcf'.WCF_N.'_conversation_message'; } /** - * @see \wcf\system\search\ISearchableObjectType::getIDFieldName() + * @inheritDoc */ public function getIDFieldName() { return $this->getTableName().'.messageID'; } /** - * @see \wcf\system\search\ISearchableObjectType::getSubjectFieldName() + * @inheritDoc */ public function getSubjectFieldName() { return 'conversation.subject'; } /** - * @see \wcf\system\search\ISearchableObjectType::getConditions() + * @inheritDoc */ public function getConditions(IForm $form = null) { $conditionBuilder = new PreparedStatementConditionBuilder(); @@ -111,14 +111,14 @@ class ConversationMessageSearch extends AbstractSearchableObjectType { } /** - * @see \wcf\system\search\ISearchableObjectType::isAccessible() + * @inheritDoc */ public function isAccessible() { return (WCF::getUser()->userID ? true : false); } /** - * @see \wcf\system\search\ISearchableObjectType::getFormTemplateName() + * @inheritDoc */ public function getFormTemplateName() { if ($this->conversation) { @@ -129,7 +129,7 @@ class ConversationMessageSearch extends AbstractSearchableObjectType { } /** - * @see \wcf\system\search\ISearchableObjectType::show() + * @inheritDoc */ public function show(IForm $form = null) { // get existing values diff --git a/files/lib/system/stat/ConversationMessageStatDailyHandler.class.php b/files/lib/system/stat/ConversationMessageStatDailyHandler.class.php index 94252c2..8f2052b 100644 --- a/files/lib/system/stat/ConversationMessageStatDailyHandler.class.php +++ b/files/lib/system/stat/ConversationMessageStatDailyHandler.class.php @@ -13,7 +13,7 @@ namespace wcf\system\stat; */ class ConversationMessageStatDailyHandler extends AbstractStatDailyHandler { /** - * @see \wcf\system\stat\IStatDailyHandler::getData() + * @inheritDoc */ public function getData($date) { return [ diff --git a/files/lib/system/stat/ConversationStatDailyHandler.class.php b/files/lib/system/stat/ConversationStatDailyHandler.class.php index 7e935d0..29fcdc6 100644 --- a/files/lib/system/stat/ConversationStatDailyHandler.class.php +++ b/files/lib/system/stat/ConversationStatDailyHandler.class.php @@ -13,7 +13,7 @@ namespace wcf\system\stat; */ class ConversationStatDailyHandler extends AbstractStatDailyHandler { /** - * @see \wcf\system\stat\IStatDailyHandler::getData() + * @inheritDoc */ public function getData($date) { return [ diff --git a/files/lib/system/user/notification/event/ConversationMessageUserNotificationEvent.class.php b/files/lib/system/user/notification/event/ConversationMessageUserNotificationEvent.class.php index 9d0ac9f..148b9b4 100644 --- a/files/lib/system/user/notification/event/ConversationMessageUserNotificationEvent.class.php +++ b/files/lib/system/user/notification/event/ConversationMessageUserNotificationEvent.class.php @@ -14,12 +14,12 @@ use wcf\system\request\LinkHandler; */ class ConversationMessageUserNotificationEvent extends AbstractUserNotificationEvent { /** - * @see \wcf\system\user\notification\event\AbstractUserNotificationEvent::$stackable + * @inheritDoc */ protected $stackable = true; /** - * @see \wcf\system\user\notification\event\IUserNotificationEvent::getMessage() + * @inheritDoc */ public function getTitle() { $count = count($this->getAuthors()); @@ -31,7 +31,7 @@ class ConversationMessageUserNotificationEvent extends AbstractUserNotificationE } /** - * @see \wcf\system\user\notification\event\IUserNotificationEvent::getMessage() + * @inheritDoc */ public function getMessage() { $authors = array_values($this->getAuthors()); @@ -54,7 +54,7 @@ class ConversationMessageUserNotificationEvent extends AbstractUserNotificationE } /** - * @see \wcf\system\user\notification\event\IUserNotificationEvent::getEmailMessage() + * @inheritDoc */ public function getEmailMessage($notificationType = 'instant') { return $this->getLanguage()->getDynamicVariable('wcf.user.notification.conversation.message.mail', [ @@ -65,7 +65,7 @@ class ConversationMessageUserNotificationEvent extends AbstractUserNotificationE } /** - * @see \wcf\system\user\notification\event\IUserNotificationEvent::getLink() + * @inheritDoc */ public function getLink() { return LinkHandler::getInstance()->getLink('Conversation', [ @@ -75,14 +75,14 @@ class ConversationMessageUserNotificationEvent extends AbstractUserNotificationE } /** - * @see \wcf\system\user\notification\event\IUserNotificationEvent::getEventHash() + * @inheritDoc */ public function getEventHash() { return sha1($this->eventID . '-' . $this->userNotificationObject->conversationID); } /** - * @see \wcf\system\user\notification\event\IUserNotificationEvent::checkAccess() + * @inheritDoc */ public function checkAccess() { return $this->userNotificationObject->getConversation()->canRead(); diff --git a/files/lib/system/user/notification/event/ConversationUserNotificationEvent.class.php b/files/lib/system/user/notification/event/ConversationUserNotificationEvent.class.php index c1715f3..d19b9a7 100644 --- a/files/lib/system/user/notification/event/ConversationUserNotificationEvent.class.php +++ b/files/lib/system/user/notification/event/ConversationUserNotificationEvent.class.php @@ -14,14 +14,14 @@ use wcf\system\request\LinkHandler; */ class ConversationUserNotificationEvent extends AbstractUserNotificationEvent { /** - * @see \wcf\system\user\notification\event\IUserNotificationEvent::getMessage() + * @inheritDoc */ public function getTitle() { return $this->getLanguage()->get('wcf.user.notification.conversation.title'); } /** - * @see \wcf\system\user\notification\event\IUserNotificationEvent::getMessage() + * @inheritDoc */ public function getMessage() { return $this->getLanguage()->getDynamicVariable('wcf.user.notification.conversation.message', [ @@ -31,7 +31,7 @@ class ConversationUserNotificationEvent extends AbstractUserNotificationEvent { } /** - * @see \wcf\system\user\notification\event\IUserNotificationEvent::getEmailMessage() + * @inheritDoc */ public function getEmailMessage($notificationType = 'instant') { return $this->getLanguage()->getDynamicVariable('wcf.user.notification.conversation.mail', [ @@ -42,14 +42,14 @@ class ConversationUserNotificationEvent extends AbstractUserNotificationEvent { } /** - * @see \wcf\system\user\notification\event\IUserNotificationEvent::getLink() + * @inheritDoc */ public function getLink() { return LinkHandler::getInstance()->getLink('Conversation', ['object' => $this->userNotificationObject]); } /** - * @see \wcf\system\user\notification\event\IUserNotificationEvent::checkAccess() + * @inheritDoc */ public function checkAccess() { return $this->userNotificationObject->canRead(); diff --git a/files/lib/system/user/notification/object/type/ConversationMessageNotificationObjectType.class.php b/files/lib/system/user/notification/object/type/ConversationMessageNotificationObjectType.class.php index 2ffd50d..8444aab 100644 --- a/files/lib/system/user/notification/object/type/ConversationMessageNotificationObjectType.class.php +++ b/files/lib/system/user/notification/object/type/ConversationMessageNotificationObjectType.class.php @@ -13,17 +13,17 @@ namespace wcf\system\user\notification\object\type; */ class ConversationMessageNotificationObjectType extends AbstractUserNotificationObjectType { /** - * @see \wcf\system\user\notification\object\type\AbstractUserNotificationObjectType::$decoratorClassName + * @inheritDoc */ protected static $decoratorClassName = 'wcf\system\user\notification\object\ConversationMessageUserNotificationObject'; /** - * @see \wcf\system\user\notification\object\type\AbstractUserNotificationObjectType::$objectClassName + * @inheritDoc */ protected static $objectClassName = 'wcf\data\conversation\message\ConversationMessage'; /** - * @see \wcf\system\user\notification\object\type\AbstractUserNotificationObjectType::$objectListClassName + * @inheritDoc */ protected static $objectListClassName = 'wcf\data\conversation\message\ConversationMessageList'; } diff --git a/files/lib/system/user/notification/object/type/ConversationNotificationObjectType.class.php b/files/lib/system/user/notification/object/type/ConversationNotificationObjectType.class.php index 3b5efb4..6c80523 100644 --- a/files/lib/system/user/notification/object/type/ConversationNotificationObjectType.class.php +++ b/files/lib/system/user/notification/object/type/ConversationNotificationObjectType.class.php @@ -15,22 +15,22 @@ use wcf\system\WCF; */ class ConversationNotificationObjectType extends AbstractUserNotificationObjectType { /** - * @see \wcf\system\user\notification\object\type\AbstractUserNotificationObjectType::$decoratorClassName + * @inheritDoc */ protected static $decoratorClassName = 'wcf\system\user\notification\object\ConversationUserNotificationObject'; /** - * @see \wcf\system\user\notification\object\type\AbstractUserNotificationObjectType::$objectClassName + * @inheritDoc */ protected static $objectClassName = 'wcf\data\conversation\Conversation'; /** - * @see \wcf\system\user\notification\object\type\AbstractUserNotificationObjectType::$objectListClassName + * @inheritDoc */ protected static $objectListClassName = 'wcf\data\conversation\ConversationList'; /** - * @see \wcf\system\user\notification\object\type\IUserNotificationObjectType::getObjectsByIDs() + * @inheritDoc */ public function getObjectsByIDs(array $objectIDs) { $objects = Conversation::getUserConversations($objectIDs, WCF::getUser()->userID); diff --git a/files/lib/system/worker/ConversationMessageRebuildDataWorker.class.php b/files/lib/system/worker/ConversationMessageRebuildDataWorker.class.php index 95196a8..e813ef6 100644 --- a/files/lib/system/worker/ConversationMessageRebuildDataWorker.class.php +++ b/files/lib/system/worker/ConversationMessageRebuildDataWorker.class.php @@ -19,12 +19,12 @@ use wcf\system\WCF; */ class ConversationMessageRebuildDataWorker extends AbstractRebuildDataWorker { /** - * @see \wcf\system\worker\AbstractWorker::$limit + * @inheritDoc */ protected $limit = 500; /** - * @see \wcf\system\worker\IWorker::countObjects() + * @inheritDoc */ public function countObjects() { if ($this->count === null) { @@ -39,7 +39,7 @@ class ConversationMessageRebuildDataWorker extends AbstractRebuildDataWorker { } /** - * @see \wcf\system\worker\AbstractRebuildDataWorker::initObjectList + * @inheritDoc */ protected function initObjectList() { $this->objectList = new ConversationMessageList(); @@ -49,7 +49,7 @@ class ConversationMessageRebuildDataWorker extends AbstractRebuildDataWorker { } /** - * @see \wcf\system\worker\IWorker::execute() + * @inheritDoc */ public function execute() { $this->objectList->getConditionBuilder()->add('conversation_message.messageID BETWEEN ? AND ?', [$this->limit * $this->loopCount + 1, $this->limit * $this->loopCount + $this->limit]); diff --git a/files/lib/system/worker/ConversationRebuildDataWorker.class.php b/files/lib/system/worker/ConversationRebuildDataWorker.class.php index c9376fa..f519bd5 100644 --- a/files/lib/system/worker/ConversationRebuildDataWorker.class.php +++ b/files/lib/system/worker/ConversationRebuildDataWorker.class.php @@ -18,12 +18,12 @@ use wcf\system\WCF; */ class ConversationRebuildDataWorker extends AbstractRebuildDataWorker { /** - * @see \wcf\system\worker\AbstractWorker::$limit + * @inheritDoc */ protected $limit = 100; /** - * @see \wcf\system\worker\IWorker::countObjects() + * @inheritDoc */ public function countObjects() { if ($this->count === null) { @@ -38,7 +38,7 @@ class ConversationRebuildDataWorker extends AbstractRebuildDataWorker { } /** - * @see \wcf\system\worker\AbstractRebuildDataWorker::initObjectList + * @inheritDoc */ protected function initObjectList() { $this->objectList = new ConversationList(); @@ -46,7 +46,7 @@ class ConversationRebuildDataWorker extends AbstractRebuildDataWorker { } /** - * @see \wcf\system\worker\IWorker::execute() + * @inheritDoc */ public function execute() { $this->objectList->getConditionBuilder()->add('conversation.conversationID BETWEEN ? AND ?', [$this->limit * $this->loopCount + 1, $this->limit * $this->loopCount + $this->limit]); -- 2.20.1