Index: trunk/phase3/tests/phpunit/includes/UploadTest.php |
— | — | @@ -106,7 +106,7 @@ |
107 | 107 | unlink( $filename ); |
108 | 108 | |
109 | 109 | $this->assertEquals( |
110 | | - array( 'status' => UploadTestHandler::OK ), $result ); |
| 110 | + array( 'status' => UploadBase::OK ), $result ); |
111 | 111 | |
112 | 112 | $wgMaxUploadSize = $savedGlobal; // restore global |
113 | 113 | } |
Index: trunk/phase3/includes/upload/UploadBase.php |
— | — | @@ -707,7 +707,7 @@ |
708 | 708 | * API request to find this stashed file again. |
709 | 709 | * |
710 | 710 | * @param $key String: (optional) the session key used to find the file info again. If not supplied, a key will be autogenerated. |
711 | | - * @return File stashed file |
| 711 | + * @return UploadStashFile stashed file |
712 | 712 | */ |
713 | 713 | public function stashSessionFile( $key = null ) { |
714 | 714 | $stash = RepoGroup::singleton()->getLocalRepo()->getUploadStash(); |
Index: trunk/phase3/includes/filerepo/FileRepo.php |
— | — | @@ -701,6 +701,8 @@ |
702 | 702 | |
703 | 703 | /** |
704 | 704 | * Get an UploadStash associated with this repo. |
| 705 | + * |
| 706 | + * @return UploadStash |
705 | 707 | */ |
706 | 708 | function getUploadStash() { |
707 | 709 | return new UploadStash( $this ); |