Add `@method` comment for `DatabaseObjectList::getSingleObject()` in subclasses
authorMatthias Schmidt <gravatronics@live.com>
Tue, 11 May 2021 06:38:20 +0000 (08:38 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 11 May 2021 06:38:20 +0000 (08:38 +0200)
files/lib/data/conversation/ConversationList.class.php
files/lib/data/conversation/FeedConversationList.class.php
files/lib/data/conversation/UserConversationList.class.php
files/lib/data/conversation/label/ConversationLabelList.class.php
files/lib/data/conversation/message/ConversationMessageList.class.php
files/lib/data/conversation/message/SearchResultConversationMessageList.class.php
files/lib/data/conversation/message/ViewableConversationMessageList.class.php
files/lib/data/modification/log/ConversationLogModificationLogList.class.php

index e7499c2a3047ff5531996013aec0f42ad74d8d8b..08f8c34134738c8b2b3a73dc5772714cd8705439 100644 (file)
@@ -14,7 +14,8 @@ use wcf\data\DatabaseObjectList;
  *
  * @method  Conversation        current()
  * @method  Conversation[]      getObjects()
  *
  * @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
  * @property    Conversation[] $objects
  */
 class ConversationList extends DatabaseObjectList
index d58fdfd5b1c7ad83bde3d079b0d9d54bc4cf3b6c..c75a6f06a2494d78fc1a44ee40d186a1cfd8e534 100644 (file)
@@ -14,7 +14,8 @@ use wcf\system\WCF;
  *
  * @method  FeedConversation    current()
  * @method  FeedConversation[]  getObjects()
  *
  * @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
  * @property    FeedConversation[] $objects
  */
 class FeedConversationList extends ConversationList
index 2a06ebf2db76e5b21af7c49135d525e4903ea475..6d5d9c77b23012215c0eff3a6d5e33f55b276412 100644 (file)
@@ -18,7 +18,8 @@ use wcf\system\WCF;
  *
  * @method  ViewableConversation        current()
  * @method  ViewableConversation[]      getObjects()
  *
  * @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
  * @property    ViewableConversation[] $objects
  */
 class UserConversationList extends ConversationList
index be9596e5892271fd19b2d3947ef68d91ef78c11a..e55a3881df71654fe910e1d4388aff8f130c268b 100644 (file)
@@ -14,7 +14,8 @@ use wcf\data\DatabaseObjectList;
  *
  * @method  ConversationLabel       current()
  * @method  ConversationLabel[]     getObjects()
  *
  * @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
  * @property    ConversationLabel[] $objects
  */
 class ConversationLabelList extends DatabaseObjectList
index e4845bc95a09d6bd0868bd2577d199346d6771e2..d4ab6e6607f2aeda1086bcbb687caf9dc1ebfd65 100644 (file)
@@ -14,7 +14,8 @@ use wcf\data\DatabaseObjectList;
  *
  * @method  ConversationMessage     current()
  * @method  ConversationMessage[]       getObjects()
  *
  * @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
  * @property    ConversationMessage[] $objects
  */
 class ConversationMessageList extends DatabaseObjectList
index 79e4b61731011c14ab220684590e9b67f8c744c9..91ecda5309cde48163502bb180a2fcd4b9505ab1 100644 (file)
@@ -12,7 +12,8 @@ namespace wcf\data\conversation\message;
  *
  * @method  SearchResultConversationMessage     current()
  * @method  SearchResultConversationMessage[]   getObjects()
  *
  * @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
  * @property    SearchResultConversationMessage[] $objects
  */
 class SearchResultConversationMessageList extends SimplifiedViewableConversationMessageList
index 807634482a9b608d0ca019fb8888a36593f2a9ae..e8adeb9cbd97e1a1a92f9bd74ea13e377137c088 100644 (file)
@@ -18,7 +18,8 @@ use wcf\system\message\embedded\object\MessageEmbeddedObjectManager;
  *
  * @method  ViewableConversationMessage     current()
  * @method  ViewableConversationMessage[]       getObjects()
  *
  * @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
  * @property    ViewableConversationMessage[] $objects
  */
 class ViewableConversationMessageList extends ConversationMessageList
index 3bc64634a2f5a1c7a9de450f3b08e22b62ef0f89..79f5f8fd88149ddb84f72c287ea645c47da07f63 100644 (file)
@@ -16,7 +16,8 @@ use wcf\system\WCF;
  *
  * @method  ViewableConversationModificationLog     current()
  * @method  ViewableConversationModificationLog[]       getObjects()
  *
  * @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
  * @property    ViewableConversationModificationLog[] $objects
  */
 class ConversationLogModificationLogList extends ModificationLogList