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:
parent
8de6a993d1
commit
4fbad9f887
@ -19,6 +19,12 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
{
|
||||
|
@ -19,6 +19,12 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
{
|
||||
|
@ -19,6 +19,12 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
{
|
||||
|
@ -19,6 +19,12 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
{
|
||||
|
@ -19,6 +19,12 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user