Index: trunk/phase3/maintenance/tests/UploadFromUrlTestSuite.php |
— | — | @@ -67,6 +67,7 @@ |
68 | 68 | |
69 | 69 | private $uploadDir; |
70 | 70 | private $keepUploads; |
| 71 | + |
71 | 72 | /** |
72 | 73 | * Remove the dummy uploads directory |
73 | 74 | */ |
— | — | @@ -110,7 +111,8 @@ |
111 | 112 | |
112 | 113 | /** |
113 | 114 | * Delete the specified files, if they exist. |
114 | | - * @param array $files full paths to files to delete. |
| 115 | + * |
| 116 | + * @param $files Array: full paths to files to delete. |
115 | 117 | */ |
116 | 118 | private static function deleteFiles( $files ) { |
117 | 119 | foreach ( $files as $file ) { |
— | — | @@ -119,9 +121,11 @@ |
120 | 122 | } |
121 | 123 | } |
122 | 124 | } |
| 125 | + |
123 | 126 | /** |
124 | 127 | * Delete the specified directories, if they exist. Must be empty. |
125 | | - * @param array $dirs full paths to directories to delete. |
| 128 | + * |
| 129 | + * @param $dirs Array: full paths to directories to delete. |
126 | 130 | */ |
127 | 131 | private static function deleteDirs( $dirs ) { |
128 | 132 | foreach ( $dirs as $dir ) { |
— | — | @@ -134,7 +138,8 @@ |
135 | 139 | /** |
136 | 140 | * Create a dummy uploads directory which will contain a couple |
137 | 141 | * of files in order to pass existence tests. |
138 | | - * @return string The directory |
| 142 | + * |
| 143 | + * @return String: the directory |
139 | 144 | */ |
140 | 145 | private function setupUploadDir() { |
141 | 146 | global $IP; |
Index: trunk/phase3/maintenance/tests/MediaWikiParserTest.php |
— | — | @@ -116,6 +116,7 @@ |
117 | 117 | |
118 | 118 | private $uploadDir; |
119 | 119 | private $keepUploads; |
| 120 | + |
120 | 121 | /** |
121 | 122 | * Remove the dummy uploads directory |
122 | 123 | */ |
— | — | @@ -158,7 +159,8 @@ |
159 | 160 | |
160 | 161 | /** |
161 | 162 | * Delete the specified files, if they exist. |
162 | | - * @param array $files full paths to files to delete. |
| 163 | + * |
| 164 | + * @param $files Array: full paths to files to delete. |
163 | 165 | */ |
164 | 166 | private static function deleteFiles( $files ) { |
165 | 167 | foreach ( $files as $file ) { |
— | — | @@ -167,9 +169,11 @@ |
168 | 170 | } |
169 | 171 | } |
170 | 172 | } |
| 173 | + |
171 | 174 | /** |
172 | 175 | * Delete the specified directories, if they exist. Must be empty. |
173 | | - * @param array $dirs full paths to directories to delete. |
| 176 | + * |
| 177 | + * @param $dirs Array: full paths to directories to delete. |
174 | 178 | */ |
175 | 179 | private static function deleteDirs( $dirs ) { |
176 | 180 | foreach ( $dirs as $dir ) { |
— | — | @@ -182,7 +186,8 @@ |
183 | 187 | /** |
184 | 188 | * Create a dummy uploads directory which will contain a couple |
185 | 189 | * of files in order to pass existence tests. |
186 | | - * @return string The directory |
| 190 | + * |
| 191 | + * @return String: the directory |
187 | 192 | */ |
188 | 193 | private function setupUploadDir() { |
189 | 194 | global $IP; |