Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -5057,7 +5057,6 @@ |
5058 | 5058 | * @param $text String |
5059 | 5059 | * @param $frame PPFrame |
5060 | 5060 | * @return String |
5061 | | - * @private |
5062 | 5061 | */ |
5063 | 5062 | function attributeStripCallback( &$text, $frame = false ) { |
5064 | 5063 | $text = $this->replaceVariables( $text, $frame ); |
— | — | @@ -5067,6 +5066,8 @@ |
5068 | 5067 | |
5069 | 5068 | /** |
5070 | 5069 | * Accessor |
| 5070 | + * |
| 5071 | + * @return array |
5071 | 5072 | */ |
5072 | 5073 | function getTags() { |
5073 | 5074 | return array_merge( array_keys( $this->mTransparentTagHooks ), array_keys( $this->mTagHooks ) ); |
Index: trunk/phase3/includes/api/ApiQueryImageInfo.php |
— | — | @@ -267,7 +267,7 @@ |
268 | 268 | * @param $prop Array of properties to get (in the keys) |
269 | 269 | * @param $result ApiResult object |
270 | 270 | * @param $thumbParams Array containing 'width' and 'height' items, or null |
271 | | - * @param $version Version of image metadata (for things like jpeg which have different versions). |
| 271 | + * @param $version string Version of image metadata (for things like jpeg which have different versions). |
272 | 272 | * @return Array: result array |
273 | 273 | */ |
274 | 274 | static function getInfo( $file, $prop, $result, $thumbParams = null, $version = 'latest' ) { |
Index: trunk/phase3/includes/specials/SpecialVersion.php |
— | — | @@ -470,11 +470,12 @@ |
471 | 471 | <th>" . wfMsg( 'version-hook-subscribedby' ) . "</th> |
472 | 472 | </tr>\n"; |
473 | 473 | |
474 | | - foreach ( $myWgHooks as $hook => $hooks ) |
| 474 | + foreach ( $myWgHooks as $hook => $hooks ) { |
475 | 475 | $ret .= "<tr> |
476 | 476 | <td>$hook</td> |
477 | 477 | <td>" . $this->listToText( $hooks ) . "</td> |
478 | 478 | </tr>\n"; |
| 479 | + } |
479 | 480 | |
480 | 481 | $ret .= Xml::closeElement( 'table' ); |
481 | 482 | return $ret; |
— | — | @@ -572,10 +573,11 @@ |
573 | 574 | } elseif ( !is_array( $list ) ) { |
574 | 575 | return $list; |
575 | 576 | } else { |
576 | | - if( is_object( $list[0] ) ) |
| 577 | + if( is_object( $list[0] ) ) { |
577 | 578 | $class = get_class( $list[0] ); |
578 | | - else |
| 579 | + } else { |
579 | 580 | $class = $list[0]; |
| 581 | + } |
580 | 582 | return "($class, {$list[1]})"; |
581 | 583 | } |
582 | 584 | } |