@@ -30,6 +30,9 @@ |
||
30 | 30 | } |
31 | 31 | } |
32 | 32 | |
33 | + /** |
|
34 | + * @param string $name |
|
35 | + */ |
|
33 | 36 | function __call( $name, array $arguments ) { |
34 | 37 | if ( $this->conn === null ) { |
35 | 38 | list( $db, $groups, $wiki ) = $this->params; |
@@ -4,6 +4,9 @@ |
||
4 | 4 | $is_pk, $is_unique, $is_multiple, $is_key, $type, $binary, |
5 | 5 | $is_numeric, $is_blob, $is_unsigned, $is_zerofill; |
6 | 6 | |
7 | + /** |
|
8 | + * @param stdClass $info |
|
9 | + */ |
|
7 | 10 | function __construct( $info ) { |
8 | 11 | $this->name = $info->name; |
9 | 12 | $this->tablename = $info->table; |
@@ -2,6 +2,9 @@ |
||
2 | 2 | class SQLiteField implements Field { |
3 | 3 | private $info, $tableName; |
4 | 4 | |
5 | + /** |
|
6 | + * @param string $tableName |
|
7 | + */ |
|
5 | 8 | function __construct( $info, $tableName ) { |
6 | 9 | $this->info = $info; |
7 | 10 | $this->tableName = $tableName; |
@@ -102,7 +102,7 @@ |
||
102 | 102 | * With conflicting expectations, the most narrow ones will be used |
103 | 103 | * |
104 | 104 | * @param array $expects Map of (event => limit) |
105 | - * @param $fname |
|
105 | + * @param string $fname |
|
106 | 106 | * @since 1.26 |
107 | 107 | */ |
108 | 108 | public function setExpectations( array $expects, $fname ) { |
@@ -93,7 +93,7 @@ |
||
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
96 | - * @param DatabaseDomain|string $other |
|
96 | + * @param boolean $other |
|
97 | 97 | * @return bool |
98 | 98 | */ |
99 | 99 | public function equals( $other ) { |
@@ -390,7 +390,7 @@ |
||
390 | 390 | } |
391 | 391 | |
392 | 392 | /** |
393 | - * @param DatabaseDomain|string|bool $domain Domain ID, or false for the current domain |
|
393 | + * @param boolean|string $domain Domain ID, or false for the current domain |
|
394 | 394 | * @return array [database name, table prefix] |
395 | 395 | */ |
396 | 396 | private function getDBNameAndPrefix( $domain = false ) { |
@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | * Borrows Recent Changes' feed generation functions for formatting; |
318 | 318 | * includes a diff to the previous revision (if any). |
319 | 319 | * |
320 | - * @param stdClass|array $row Database row |
|
320 | + * @param null|stdClass $row Database row |
|
321 | 321 | * @return FeedItem |
322 | 322 | */ |
323 | 323 | function feedItem( $row ) { |
@@ -534,6 +534,10 @@ discard block |
||
534 | 534 | return $s; |
535 | 535 | } |
536 | 536 | |
537 | + /** |
|
538 | + * @param string $name |
|
539 | + * @param string $msg |
|
540 | + */ |
|
537 | 541 | private function getRevisionButton( $name, $msg ) { |
538 | 542 | $this->preventClickjacking(); |
539 | 543 | # Note bug #20966, <button> is non-standard in IE<8 |
@@ -154,7 +154,7 @@ |
||
154 | 154 | * Extract information from the Revision |
155 | 155 | * |
156 | 156 | * @param Revision $revision |
157 | - * @param object $row Should have a field 'ts_tags' if $this->fld_tags is set |
|
157 | + * @param null|stdClass $row Should have a field 'ts_tags' if $this->fld_tags is set |
|
158 | 158 | * @return array |
159 | 159 | */ |
160 | 160 | protected function extractRevisionInfo( Revision $revision, $row ) { |
@@ -447,6 +447,9 @@ |
||
447 | 447 | return $vals; |
448 | 448 | } |
449 | 449 | |
450 | + /** |
|
451 | + * @param null|stdClass $row |
|
452 | + */ |
|
450 | 453 | private function continueStr( $row ) { |
451 | 454 | if ( $this->multiUserMode ) { |
452 | 455 | if ( $this->idMode ) { |