Index: trunk/phase3/includes/upload/UploadBase.php |
— | — | @@ -298,7 +298,7 @@ |
299 | 299 | |
300 | 300 | /** |
301 | 301 | * Verify the mime type |
302 | | - * @param $magic MagicMime object |
| 302 | + * |
303 | 303 | * @param $mime string representing the mime |
304 | 304 | * @return mixed true if the file is verified, an array otherwise |
305 | 305 | */ |
Index: trunk/phase3/includes/job/UploadFromUrlJob.php |
— | — | @@ -126,9 +126,9 @@ |
127 | 127 | * Store a result in the session data |
128 | 128 | * THIS IS BROKEN. $_SESSION does not exist when using runJobs.php |
129 | 129 | * |
130 | | - * @param $result string The result (Success|Warning|Failure) |
131 | | - * @param $dataKey string The key of the extra data |
132 | | - * @param $dataKey mixed The extra data itself |
| 130 | + * @param $result String: the result (Success|Warning|Failure) |
| 131 | + * @param $dataKey String: the key of the extra data |
| 132 | + * @param $dataValue Mixed: the extra data itself |
133 | 133 | */ |
134 | 134 | protected function storeResultInSession( $result, $dataKey, $dataValue ) { |
135 | 135 | $session &= $_SESSION[UploadBase::getSessionKeyname()][$this->params['sessionKey']]; |