Index: trunk/phase3/includes/ImageGallery.php |
— | — | @@ -83,7 +83,7 @@ |
84 | 84 | /** |
85 | 85 | * Set how many images will be displayed per row. |
86 | 86 | * |
87 | | - * @param int $num > 0; invalid numbers will be rejected |
| 87 | + * @param $num Integer > 0; invalid numbers will be rejected |
88 | 88 | */ |
89 | 89 | public function setPerRow( $num ) { |
90 | 90 | if ($num > 0) { |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | /** |
96 | 96 | * Set how wide each image will be, in pixels. |
97 | 97 | * |
98 | | - * @param int $num > 0; invalid numbers will be ignored |
| 98 | + * @param $num Integer > 0; invalid numbers will be ignored |
99 | 99 | */ |
100 | 100 | public function setWidths( $num ) { |
101 | 101 | if ($num > 0) { |
— | — | @@ -105,7 +105,7 @@ |
106 | 106 | /** |
107 | 107 | * Set how high each image will be, in pixels. |
108 | 108 | * |
109 | | - * @param int $num > 0; invalid numbers will be ignored |
| 109 | + * @param $num Integer > 0; invalid numbers will be ignored |
110 | 110 | */ |
111 | 111 | public function setHeights( $num ) { |
112 | 112 | if ($num > 0) { |
— | — | @@ -201,7 +201,7 @@ |
202 | 202 | * Note -- if taking from user input, you should probably run through |
203 | 203 | * Sanitizer::validateAttributes() first. |
204 | 204 | * |
205 | | - * @param array of HTML attribute pairs |
| 205 | + * @param $attribs Array of HTML attribute pairs |
206 | 206 | */ |
207 | 207 | function setAttributes( $attribs ) { |
208 | 208 | $this->mAttribs = $attribs; |
— | — | @@ -343,7 +343,7 @@ |
344 | 344 | } |
345 | 345 | |
346 | 346 | /** |
347 | | - * @return int Number of images in the gallery |
| 347 | + * @return Integer: number of images in the gallery |
348 | 348 | */ |
349 | 349 | public function count() { |
350 | 350 | return count( $this->mImages ); |
— | — | @@ -352,7 +352,7 @@ |
353 | 353 | /** |
354 | 354 | * Set the contextual title |
355 | 355 | * |
356 | | - * @param Title $title Contextual title |
| 356 | + * @param $title Title: contextual title |
357 | 357 | */ |
358 | 358 | public function setContextTitle( $title ) { |
359 | 359 | $this->contextTitle = $title; |