1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-09 00:20:08 +00:00

Fix CodeSniff complains

This commit is contained in:
Tim Düsterhus 2013-06-06 16:56:13 +02:00
parent c224333b10
commit 2a31c61510
2 changed files with 19 additions and 10 deletions

View File

@ -24,23 +24,23 @@ class ChatSuspensionListPage extends \wcf\page\SortablePage {
public $neededPermissions = array(); public $neededPermissions = array();
/** /**
* @see \wcf\page\SortablePage::$defaultSortField * @see \wcf\page\SortablePage::$defaultSortField
*/ */
public $defaultSortField = 'expires'; public $defaultSortField = 'expires';
/** /**
* @see \wcf\page\MultipleLinkPage::$itemsPerPage * @see \wcf\page\MultipleLinkPage::$itemsPerPage
*/ */
public $itemsPerPage = 30; public $itemsPerPage = 30;
/** /**
* @see \wcf\page\SortablePage::$validSortFields * @see \wcf\page\SortablePage::$validSortFields
*/ */
public $validSortFields = array('suspensionID', 'userID', 'username', 'roomID', 'type', 'expires'); public $validSortFields = array('suspensionID', 'userID', 'username', 'roomID', 'type', 'expires');
/** /**
* @see \wcf\page\MultipleLinkPage::$objectListClassName * @see \wcf\page\MultipleLinkPage::$objectListClassName
*/ */
public $objectListClassName = 'chat\data\suspension\SuspensionList'; public $objectListClassName = 'chat\data\suspension\SuspensionList';
/** /**

View File

@ -1,9 +1,18 @@
<?php <?php
namespace chat\data\suspension; namespace chat\data\suspension;
/**
* Represents a list of chat suspensions.
*
* @author Maximilian Mader
* @copyright 2010-2013 Tim Düsterhus
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
* @package be.bastelstu.chat
* @subpackage data.suspension
*/
class SuspensionList extends \wcf\data\DatabaseObjectList { class SuspensionList extends \wcf\data\DatabaseObjectList {
/** /**
* @see wcf\data\DatabaseObjectList::$className * @see wcf\data\DatabaseObjectList::$className
*/ */
public $className = 'chat\data\suspension\Suspension'; public $className = 'chat\data\suspension\Suspension';
} }