@@ -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 |
@@ -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) |
@@ -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 | |
@@ -176,7 +176,7 @@ |
||
| 176 | 176 | * Seek to new position |
| 177 | 177 | * @param int $aOffset |
| 178 | 178 | * @param int $aWhence |
| 179 | - * @return boolean |
|
| 179 | + * @return boolean|null |
|
| 180 | 180 | */ |
| 181 | 181 | function stream_seek($aOffset, $aWhence) { |
| 182 | 182 | switch ($aWhence) { |
@@ -45,8 +45,7 @@ |
||
| 45 | 45 | /** |
| 46 | 46 | * http://stackoverflow.com/a/14432765 |
| 47 | 47 | * |
| 48 | - * @param type $input |
|
| 49 | - * @param type $query |
|
| 48 | + * @param string|null $key |
|
| 50 | 49 | * @return type |
| 51 | 50 | */ |
| 52 | 51 | private static function decode($method, $key) { |