@@ -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) |
@@ -47,6 +47,11 @@ discard block |
||
47 | 47 | private $path; |
48 | 48 | private static $registered = false; |
49 | 49 | |
50 | + /** |
|
51 | + * @param boolean $read |
|
52 | + * @param boolean $write |
|
53 | + * @param integer $position |
|
54 | + */ |
|
50 | 55 | private function setFlags($read, $write, $position) |
51 | 56 | { |
52 | 57 | $this->read = $read; |
@@ -154,7 +159,7 @@ discard block |
||
154 | 159 | * Seek to new position |
155 | 160 | * @param int $aOffset |
156 | 161 | * @param int $aWhence |
157 | - * @return boolean |
|
162 | + * @return boolean|null |
|
158 | 163 | */ |
159 | 164 | public function stream_seek($aOffset, $aWhence) |
160 | 165 | { |
@@ -46,8 +46,7 @@ |
||
46 | 46 | /** |
47 | 47 | * http://stackoverflow.com/a/14432765 |
48 | 48 | * |
49 | - * @param type $input |
|
50 | - * @param type $query |
|
49 | + * @param string|null $key |
|
51 | 50 | * @return type |
52 | 51 | */ |
53 | 52 | private static function decode($method, $key) |