1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00

Improve typing in DBO lists

This commit is contained in:
Tim Düsterhus 2022-03-04 19:47:32 +01:00
parent 8de6a993d1
commit 4fbad9f887
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF
5 changed files with 30 additions and 0 deletions

View File

@ -19,6 +19,12 @@
/** /**
* Represents a list of chat commands. * Represents a list of chat commands.
*
* @method Command current()
* @method Command[] getObjects()
* @method Command|null getSingleObject()
* @method Command|null search($objectID)
* @property Command[] $objects
*/ */
class CommandList extends DatabaseObjectList class CommandList extends DatabaseObjectList
{ {

View File

@ -19,6 +19,12 @@
/** /**
* Represents a list command triggers. * Represents a list command triggers.
*
* @method CommandTrigger current()
* @method CommandTrigger[] getObjects()
* @method CommandTrigger|null getSingleObject()
* @method CommandTrigger|null search($objectID)
* @property CommandTrigger[] $objects
*/ */
class CommandTriggerList extends DatabaseObjectList class CommandTriggerList extends DatabaseObjectList
{ {

View File

@ -19,6 +19,12 @@
/** /**
* Represents a list of chat messages. * Represents a list of chat messages.
*
* @method Message current()
* @method Message[] getObjects()
* @method Message|null getSingleObject()
* @method Message|null search($objectID)
* @property Message[] $objects
*/ */
class MessageList extends DatabaseObjectList class MessageList extends DatabaseObjectList
{ {

View File

@ -19,6 +19,12 @@
/** /**
* Represents a list of chat rooms. * Represents a list of chat rooms.
*
* @method Room current()
* @method Room[] getObjects()
* @method Room|null getSingleObject()
* @method Room|null search($objectID)
* @property Room[] $objects
*/ */
class RoomList extends DatabaseObjectList class RoomList extends DatabaseObjectList
{ {

View File

@ -19,6 +19,12 @@
/** /**
* Represents a list of chat suspensions. * Represents a list of chat suspensions.
*
* @method Suspension current()
* @method Suspension[] getObjects()
* @method Suspension|null getSingleObject()
* @method Suspension|null search($objectID)
* @property Suspension[] $objects
*/ */
class SuspensionList extends DatabaseObjectList class SuspensionList extends DatabaseObjectList
{ {