r63138 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63137‎ | r63138 | r63139 >
Date:21:36, 1 March 2010
Author:ialex
Status:ok
Tags:
Comment:
Fixed some doxygen warnings
Modified paths:
  • /trunk/phase3/includes/ImageGallery.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImageGallery.php
@@ -83,7 +83,7 @@
8484 /**
8585 * Set how many images will be displayed per row.
8686 *
87 - * @param int $num > 0; invalid numbers will be rejected
 87+ * @param $num Integer > 0; invalid numbers will be rejected
8888 */
8989 public function setPerRow( $num ) {
9090 if ($num > 0) {
@@ -94,7 +94,7 @@
9595 /**
9696 * Set how wide each image will be, in pixels.
9797 *
98 - * @param int $num > 0; invalid numbers will be ignored
 98+ * @param $num Integer > 0; invalid numbers will be ignored
9999 */
100100 public function setWidths( $num ) {
101101 if ($num > 0) {
@@ -105,7 +105,7 @@
106106 /**
107107 * Set how high each image will be, in pixels.
108108 *
109 - * @param int $num > 0; invalid numbers will be ignored
 109+ * @param $num Integer > 0; invalid numbers will be ignored
110110 */
111111 public function setHeights( $num ) {
112112 if ($num > 0) {
@@ -201,7 +201,7 @@
202202 * Note -- if taking from user input, you should probably run through
203203 * Sanitizer::validateAttributes() first.
204204 *
205 - * @param array of HTML attribute pairs
 205+ * @param $attribs Array of HTML attribute pairs
206206 */
207207 function setAttributes( $attribs ) {
208208 $this->mAttribs = $attribs;
@@ -343,7 +343,7 @@
344344 }
345345
346346 /**
347 - * @return int Number of images in the gallery
 347+ * @return Integer: number of images in the gallery
348348 */
349349 public function count() {
350350 return count( $this->mImages );
@@ -352,7 +352,7 @@
353353 /**
354354 * Set the contextual title
355355 *
356 - * @param Title $title Contextual title
 356+ * @param $title Title: contextual title
357357 */
358358 public function setContextTitle( $title ) {
359359 $this->contextTitle = $title;

Status & tagging log