@@ -3,9 +3,20 @@ |
||
| 3 | 3 | |
| 4 | 4 | interface FileInterface |
| 5 | 5 | { |
| 6 | + /** |
|
| 7 | + * @return void |
|
| 8 | + */ |
|
| 6 | 9 | public function moveTo($destination); |
| 7 | 10 | public function getSize(); |
| 11 | + |
|
| 12 | + /** |
|
| 13 | + * @return void |
|
| 14 | + */ |
|
| 8 | 15 | public function copyTo($destination); |
| 16 | + |
|
| 17 | + /** |
|
| 18 | + * @return void |
|
| 19 | + */ |
|
| 9 | 20 | public function delete(); |
| 10 | 21 | public function getPath(); |
| 11 | 22 | } |
| 12 | 23 | \ No newline at end of file |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace ntentan\utils\filesystem; |
| 4 | 4 | |
| 5 | -use ntentan\utils\exceptions\FilesystemException; |
|
| 6 | 5 | use ntentan\utils\Filesystem; |
| 6 | +use ntentan\utils\exceptions\FilesystemException; |
|
| 7 | 7 | |
| 8 | 8 | class UploadedFile extends File |
| 9 | 9 | { |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | * |
| 17 | 17 | * @param boolean $result |
| 18 | 18 | * @param string $message |
| 19 | - * @param array $options |
|
| 20 | 19 | * @return boolean |
| 21 | 20 | */ |
| 22 | 21 | protected function evaluateResult($field, $result, $message) |
@@ -182,7 +182,7 @@ |
||
| 182 | 182 | * Seek to new position |
| 183 | 183 | * @param int $aOffset |
| 184 | 184 | * @param int $aWhence |
| 185 | - * @return boolean |
|
| 185 | + * @return boolean|null |
|
| 186 | 186 | */ |
| 187 | 187 | function stream_seek($aOffset, $aWhence) |
| 188 | 188 | { |