Change-Id: Ia9ed6fa851316baa47e73d9a5988a863d15f298c
* @param RecentChange|RCCacheEntry $rc
* @param string|bool $watched Optionally timestamp for adding watched class
*
* @param RecentChange|RCCacheEntry $rc
* @param string|bool $watched Optionally timestamp for adding watched class
*
- * @return array of classes
+ * @return string[] List of CSS class names
*/
protected function getHTMLClasses( $rc, $watched ) {
$classes = [ self::CSS_CLASS_PREFIX . 'line' ];
*/
protected function getHTMLClasses( $rc, $watched ) {
$classes = [ self::CSS_CLASS_PREFIX . 'line' ];
* Get ImageMagick subsampling factors for the target JPEG pixel format.
*
* @param string $pixelFormat one of 'yuv444', 'yuv422', 'yuv420'
* Get ImageMagick subsampling factors for the target JPEG pixel format.
*
* @param string $pixelFormat one of 'yuv444', 'yuv422', 'yuv420'
- * @return array of string keys
+ * @return string[] List of sampling factors
*/
protected function imageMagickSubsampling( $pixelFormat ) {
switch ( $pixelFormat ) {
*/
protected function imageMagickSubsampling( $pixelFormat ) {
switch ( $pixelFormat ) {
/**
* Takes named templates by the module and returns an array mapping.
*
/**
* Takes named templates by the module and returns an array mapping.
*
- * @return array of templates mapping template alias to content
+ * @return string[] Array of templates mapping template alias to content
*/
public function getTemplates() {
// Stub, override expected.
*/
public function getTemplates() {
// Stub, override expected.
/**
* Get the keys of each top level preference section.
/**
* Get the keys of each top level preference section.
- * @return array of section keys
+ * @return string[] List of section keys
*/
function getPreferenceSections() {
return array_keys( array_filter( $this->mFieldTree, 'is_array' ) );
*/
function getPreferenceSections() {
return array_keys( array_filter( $this->mFieldTree, 'is_array' ) );
* id fields ('rc_cur_id', 'rc_this_oldid', 'rc_last_oldid')
* if false (default)
* @param array|null &$startFrom Continuation value: [ string $rcTimestamp, int $rcId ]
* id fields ('rc_cur_id', 'rc_this_oldid', 'rc_last_oldid')
* if false (default)
* @param array|null &$startFrom Continuation value: [ string $rcTimestamp, int $rcId ]
- * @return array of pairs ( WatchedItem $watchedItem, string[] $recentChangeInfo ),
+ * @return array[] Array of pairs ( WatchedItem $watchedItem, string[] $recentChangeInfo ),
* where $recentChangeInfo contains the following keys:
* - 'rc_id',
* - 'rc_namespace',
* where $recentChangeInfo contains the following keys:
* - 'rc_id',
* - 'rc_namespace',