Merge "TablePager: fix param documentation for formatValue()"
This commit is contained in:
commit
69039db455
5 changed files with 6 additions and 5 deletions
|
|
@ -465,7 +465,8 @@ abstract class TablePager extends IndexPager {
|
|||
* need more context.
|
||||
*
|
||||
* @param string $name The database field name
|
||||
* @param string $value The value retrieved from the database
|
||||
* @param string|null $value The value retrieved from the database, or null if
|
||||
* the row doesn't contain this field
|
||||
*/
|
||||
abstract public function formatValue( $name, $value );
|
||||
|
||||
|
|
|
|||
|
|
@ -273,7 +273,7 @@ class AllMessagesTablePager extends TablePager {
|
|||
|
||||
/**
|
||||
* @param string $field
|
||||
* @param string $value
|
||||
* @param string|null $value
|
||||
* @return string HTML
|
||||
*/
|
||||
public function formatValue( $field, $value ) {
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ class BlockListPager extends TablePager {
|
|||
|
||||
/**
|
||||
* @param string $name
|
||||
* @param string $value
|
||||
* @param string|null $value
|
||||
* @return string
|
||||
* @suppress PhanTypeArraySuspicious
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -454,7 +454,7 @@ class ImageListPager extends TablePager {
|
|||
|
||||
/**
|
||||
* @param string $field
|
||||
* @param string $value
|
||||
* @param string|null $value
|
||||
* @return Message|string|int The return type depends on the value of $field:
|
||||
* - thumb: string
|
||||
* - img_timestamp: string
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ class ProtectedPagesPager extends TablePager {
|
|||
|
||||
/**
|
||||
* @param string $field
|
||||
* @param string $value
|
||||
* @param string|null $value
|
||||
* @return string HTML
|
||||
* @throws MWException
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue