Merge "TablePager: fix param documentation for formatValue()"

This commit is contained in:
jenkins-bot 2021-09-09 07:29:23 +00:00 committed by Gerrit Code Review
commit 69039db455
5 changed files with 6 additions and 5 deletions

View file

@ -465,7 +465,8 @@ abstract class TablePager extends IndexPager {
* need more context. * need more context.
* *
* @param string $name The database field name * @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 ); abstract public function formatValue( $name, $value );

View file

@ -273,7 +273,7 @@ class AllMessagesTablePager extends TablePager {
/** /**
* @param string $field * @param string $field
* @param string $value * @param string|null $value
* @return string HTML * @return string HTML
*/ */
public function formatValue( $field, $value ) { public function formatValue( $field, $value ) {

View file

@ -121,7 +121,7 @@ class BlockListPager extends TablePager {
/** /**
* @param string $name * @param string $name
* @param string $value * @param string|null $value
* @return string * @return string
* @suppress PhanTypeArraySuspicious * @suppress PhanTypeArraySuspicious
*/ */

View file

@ -454,7 +454,7 @@ class ImageListPager extends TablePager {
/** /**
* @param string $field * @param string $field
* @param string $value * @param string|null $value
* @return Message|string|int The return type depends on the value of $field: * @return Message|string|int The return type depends on the value of $field:
* - thumb: string * - thumb: string
* - img_timestamp: string * - img_timestamp: string

View file

@ -137,7 +137,7 @@ class ProtectedPagesPager extends TablePager {
/** /**
* @param string $field * @param string $field
* @param string $value * @param string|null $value
* @return string HTML * @return string HTML
* @throws MWException * @throws MWException
*/ */