From: Matthias Schmidt Date: Tue, 11 May 2021 06:38:20 +0000 (+0200) Subject: Add `@method` comment for `DatabaseObjectList::getSingleObject()` in subclasses X-Git-Tag: 5.4.0_Alpha_2~3 X-Git-Url: https://git.stricted.de/?p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.conversation.git;a=commitdiff_plain;h=4aa8d544032ab4cae3746792ddc85947e6e2a71c Add `@method` comment for `DatabaseObjectList::getSingleObject()` in subclasses --- diff --git a/files/lib/data/conversation/ConversationList.class.php b/files/lib/data/conversation/ConversationList.class.php index e7499c2..08f8c34 100644 --- a/files/lib/data/conversation/ConversationList.class.php +++ b/files/lib/data/conversation/ConversationList.class.php @@ -14,7 +14,8 @@ use wcf\data\DatabaseObjectList; * * @method Conversation current() * @method Conversation[] getObjects() - * @method Conversation|null search($objectID) + * @method Conversation|null getSingleObject() + * @method Conversation|null seach($objectID) * @property Conversation[] $objects */ class ConversationList extends DatabaseObjectList diff --git a/files/lib/data/conversation/FeedConversationList.class.php b/files/lib/data/conversation/FeedConversationList.class.php index d58fdfd..c75a6f0 100644 --- a/files/lib/data/conversation/FeedConversationList.class.php +++ b/files/lib/data/conversation/FeedConversationList.class.php @@ -14,7 +14,8 @@ use wcf\system\WCF; * * @method FeedConversation current() * @method FeedConversation[] getObjects() - * @method FeedConversation|null search($objectID) + * @method FeedConversation|null getSingleObject() + * @method FeedConversation|null seach($objectID) * @property FeedConversation[] $objects */ class FeedConversationList extends ConversationList diff --git a/files/lib/data/conversation/UserConversationList.class.php b/files/lib/data/conversation/UserConversationList.class.php index 2a06ebf..6d5d9c7 100644 --- a/files/lib/data/conversation/UserConversationList.class.php +++ b/files/lib/data/conversation/UserConversationList.class.php @@ -18,7 +18,8 @@ use wcf\system\WCF; * * @method ViewableConversation current() * @method ViewableConversation[] getObjects() - * @method ViewableConversation|null search($objectID) + * @method ViewableConversation|null getSingleObject() + * @method ViewableConversation|null seach($objectID) * @property ViewableConversation[] $objects */ class UserConversationList extends ConversationList diff --git a/files/lib/data/conversation/label/ConversationLabelList.class.php b/files/lib/data/conversation/label/ConversationLabelList.class.php index be9596e..e55a388 100644 --- a/files/lib/data/conversation/label/ConversationLabelList.class.php +++ b/files/lib/data/conversation/label/ConversationLabelList.class.php @@ -14,7 +14,8 @@ use wcf\data\DatabaseObjectList; * * @method ConversationLabel current() * @method ConversationLabel[] getObjects() - * @method ConversationLabel|null search($objectID) + * @method ConversationLabel|null getSingleObject() + * @method ConversationLabel|null seach($objectID) * @property ConversationLabel[] $objects */ class ConversationLabelList extends DatabaseObjectList diff --git a/files/lib/data/conversation/message/ConversationMessageList.class.php b/files/lib/data/conversation/message/ConversationMessageList.class.php index e4845bc..d4ab6e6 100644 --- a/files/lib/data/conversation/message/ConversationMessageList.class.php +++ b/files/lib/data/conversation/message/ConversationMessageList.class.php @@ -14,7 +14,8 @@ use wcf\data\DatabaseObjectList; * * @method ConversationMessage current() * @method ConversationMessage[] getObjects() - * @method ConversationMessage|null search($objectID) + * @method ConversationMessage|null getSingleObject() + * @method ConversationMessage|null seach($objectID) * @property ConversationMessage[] $objects */ class ConversationMessageList extends DatabaseObjectList diff --git a/files/lib/data/conversation/message/SearchResultConversationMessageList.class.php b/files/lib/data/conversation/message/SearchResultConversationMessageList.class.php index 79e4b61..91ecda5 100644 --- a/files/lib/data/conversation/message/SearchResultConversationMessageList.class.php +++ b/files/lib/data/conversation/message/SearchResultConversationMessageList.class.php @@ -12,7 +12,8 @@ namespace wcf\data\conversation\message; * * @method SearchResultConversationMessage current() * @method SearchResultConversationMessage[] getObjects() - * @method SearchResultConversationMessage|null search($objectID) + * @method SearchResultConversationMessage|null getSingleObject() + * @method SearchResultConversationMessage|null seach($objectID) * @property SearchResultConversationMessage[] $objects */ class SearchResultConversationMessageList extends SimplifiedViewableConversationMessageList diff --git a/files/lib/data/conversation/message/ViewableConversationMessageList.class.php b/files/lib/data/conversation/message/ViewableConversationMessageList.class.php index 8076344..e8adeb9 100644 --- a/files/lib/data/conversation/message/ViewableConversationMessageList.class.php +++ b/files/lib/data/conversation/message/ViewableConversationMessageList.class.php @@ -18,7 +18,8 @@ use wcf\system\message\embedded\object\MessageEmbeddedObjectManager; * * @method ViewableConversationMessage current() * @method ViewableConversationMessage[] getObjects() - * @method ViewableConversationMessage|null search($objectID) + * @method ViewableConversationMessage|null getSingleObject() + * @method ViewableConversationMessage|null seach($objectID) * @property ViewableConversationMessage[] $objects */ class ViewableConversationMessageList extends ConversationMessageList diff --git a/files/lib/data/modification/log/ConversationLogModificationLogList.class.php b/files/lib/data/modification/log/ConversationLogModificationLogList.class.php index 3bc6463..79f5f8f 100644 --- a/files/lib/data/modification/log/ConversationLogModificationLogList.class.php +++ b/files/lib/data/modification/log/ConversationLogModificationLogList.class.php @@ -16,7 +16,8 @@ use wcf\system\WCF; * * @method ViewableConversationModificationLog current() * @method ViewableConversationModificationLog[] getObjects() - * @method ViewableConversationModificationLog|null search($objectID) + * @method ViewableConversationModificationLog|null getSingleObject() + * @method ViewableConversationModificationLog|null seach($objectID) * @property ViewableConversationModificationLog[] $objects */ class ConversationLogModificationLogList extends ModificationLogList