@@ -84,7 +84,7 @@ |
||
84 | 84 | /** |
85 | 85 | * Returns available diskspace information |
86 | 86 | * |
87 | - * @return array [ available-space, free-space ] |
|
87 | + * @return false[] [ available-space, free-space ] |
|
88 | 88 | */ |
89 | 89 | function getQuotaInfo() |
90 | 90 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * |
63 | 63 | * Return null if the ETag can not effectively be determined |
64 | 64 | * |
65 | - * @return mixed |
|
65 | + * @return string|null |
|
66 | 66 | */ |
67 | 67 | function getETag() |
68 | 68 | { |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | * |
79 | 79 | * If null is returned, we'll assume application/octet-stream |
80 | 80 | * |
81 | - * @return mixed |
|
81 | + * @return string |
|
82 | 82 | */ |
83 | 83 | function getContentType() |
84 | 84 | { |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | * |
272 | 272 | * If you have cached data in your stream but not yet stored it into the underlying storage, you should do so now. |
273 | 273 | * |
274 | - * @return booelan TRUE if the cached data was successfully stored (or if there was no data to store), or FALSE if the data could not be stored. |
|
274 | + * @return boolean TRUE if the cached data was successfully stored (or if there was no data to store), or FALSE if the data could not be stored. |
|
275 | 275 | */ |
276 | 276 | function stream_flush ( ) |
277 | 277 | { |
@@ -507,7 +507,7 @@ discard block |
||
507 | 507 | * |
508 | 508 | * @param string $url URL that was passed to opendir() and that this object is expected to explore. |
509 | 509 | * @param int $options |
510 | - * @return booelan |
|
510 | + * @return boolean |
|
511 | 511 | */ |
512 | 512 | function dir_opendir ( $url, $options ) |
513 | 513 | { |
@@ -616,7 +616,7 @@ discard block |
||
616 | 616 | * It should reset the output generated by dir_readdir(). i.e.: |
617 | 617 | * The next call to dir_readdir() should return the first entry in the location returned by dir_opendir(). |
618 | 618 | * |
619 | - * @return boolean |
|
619 | + * @return boolean|null |
|
620 | 620 | */ |
621 | 621 | function dir_rewinddir ( ) |
622 | 622 | { |
@@ -37,8 +37,6 @@ discard block |
||
37 | 37 | * Hook called after new accounts have been added |
38 | 38 | * |
39 | 39 | * @param array $data |
40 | - * @param int $data['account_id'] numerical id |
|
41 | - * @param string $data['account_lid'] account-name |
|
42 | 40 | */ |
43 | 41 | static function addAccount($data) |
44 | 42 | { |
@@ -58,9 +56,6 @@ discard block |
||
58 | 56 | * Hook called after accounts has been modified |
59 | 57 | * |
60 | 58 | * @param array $data |
61 | - * @param int $data['account_id'] numerical id |
|
62 | - * @param string $data['account_lid'] new account-name |
|
63 | - * @param string $data['old_loginid'] old account-name |
|
64 | 59 | */ |
65 | 60 | static function editAccount($data) |
66 | 61 | { |
@@ -79,9 +74,6 @@ discard block |
||
79 | 74 | * Hook called before an account get deleted |
80 | 75 | * |
81 | 76 | * @param array $data |
82 | - * @param int $data['account_id'] numerical id |
|
83 | - * @param string $data['account_lid'] account-name |
|
84 | - * @param int $data['new_owner'] account-id of new owner, or false if data should get deleted |
|
85 | 77 | */ |
86 | 78 | static function deleteAccount($data) |
87 | 79 | { |
@@ -114,8 +106,6 @@ discard block |
||
114 | 106 | * Hook called after new groups have been added |
115 | 107 | * |
116 | 108 | * @param array $data |
117 | - * @param int $data['account_id'] numerical id |
|
118 | - * @param string $data['account_lid'] group-name |
|
119 | 109 | */ |
120 | 110 | static function addGroup($data) |
121 | 111 | { |
@@ -140,9 +130,6 @@ discard block |
||
140 | 130 | * or if the group directory exists and creates it if not. |
141 | 131 | * |
142 | 132 | * @param array $data |
143 | - * @param int $data['account_id'] numerical id |
|
144 | - * @param string $data['account_lid'] new group-name |
|
145 | - * @param string $data['old_name'] old account-name |
|
146 | 133 | */ |
147 | 134 | static function editGroup($data) |
148 | 135 | { |
@@ -170,8 +157,6 @@ discard block |
||
170 | 157 | * Hook called before a group get deleted |
171 | 158 | * |
172 | 159 | * @param array $data |
173 | - * @param int $data['account_id'] numerical id |
|
174 | - * @param string $data['account_lid'] account-name |
|
175 | 160 | */ |
176 | 161 | static function deleteGroup($data) |
177 | 162 | { |
@@ -316,7 +316,7 @@ |
||
316 | 316 | * |
317 | 317 | * @param string $url URL that was passed to opendir() and that this object is expected to explore. |
318 | 318 | * @param $options |
319 | - * @return booelan |
|
319 | + * @return boolean |
|
320 | 320 | */ |
321 | 321 | function dir_opendir ( $url, $options ) |
322 | 322 | { |
@@ -98,7 +98,6 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Protected constructor called via self::create_session |
100 | 100 | * |
101 | - * @param string $token |
|
102 | 101 | * @param array $share |
103 | 102 | */ |
104 | 103 | protected function __construct(array $share) |
@@ -109,6 +108,7 @@ discard block |
||
109 | 108 | |
110 | 109 | /** |
111 | 110 | * Get token from url |
111 | + * @return string |
|
112 | 112 | */ |
113 | 113 | public static function get_token() |
114 | 114 | { |
@@ -454,7 +454,7 @@ discard block |
||
454 | 454 | * |
455 | 455 | * If you have cached data in your stream but not yet stored it into the underlying storage, you should do so now. |
456 | 456 | * |
457 | - * @return booelan TRUE if the cached data was successfully stored (or if there was no data to store), or FALSE if the data could not be stored. |
|
457 | + * @return boolean TRUE if the cached data was successfully stored (or if there was no data to store), or FALSE if the data could not be stored. |
|
458 | 458 | */ |
459 | 459 | function stream_flush ( ) |
460 | 460 | { |
@@ -856,7 +856,7 @@ discard block |
||
856 | 856 | * This method is called immediately when your stream object is created for examining directory contents with opendir(). |
857 | 857 | * |
858 | 858 | * @param string $path URL that was passed to opendir() and that this object is expected to explore. |
859 | - * @return booelan |
|
859 | + * @return boolean |
|
860 | 860 | */ |
861 | 861 | function dir_opendir ( $path, $options ) |
862 | 862 | { |
@@ -1213,7 +1213,7 @@ discard block |
||
1213 | 1213 | * It should reset the output generated by dir_readdir(). i.e.: |
1214 | 1214 | * The next call to dir_readdir() should return the first entry in the location returned by dir_opendir(). |
1215 | 1215 | * |
1216 | - * @return boolean |
|
1216 | + * @return boolean|null |
|
1217 | 1217 | */ |
1218 | 1218 | function dir_rewinddir ( ) |
1219 | 1219 | { |
@@ -1227,7 +1227,7 @@ discard block |
||
1227 | 1227 | * |
1228 | 1228 | * You should release any resources which were locked or allocated during the opening and use of the directory stream. |
1229 | 1229 | * |
1230 | - * @return boolean |
|
1230 | + * @return boolean|null |
|
1231 | 1231 | */ |
1232 | 1232 | function dir_closedir ( ) |
1233 | 1233 | { |
@@ -45,6 +45,7 @@ discard block |
||
45 | 45 | * This method is called when the stream is closed, using fclose(). |
46 | 46 | * |
47 | 47 | * You must release any resources that were locked or allocated by the stream. |
48 | + * @return boolean |
|
48 | 49 | */ |
49 | 50 | function stream_close ( ); |
50 | 51 | |
@@ -57,7 +58,7 @@ discard block |
||
57 | 58 | * You must also update the read/write position of the stream by the number of bytes that were successfully read. |
58 | 59 | * |
59 | 60 | * @param int $count |
60 | - * @return string/false up to count bytes read or false on EOF |
|
61 | + * @return string|false up to count bytes read or false on EOF |
|
61 | 62 | */ |
62 | 63 | function stream_read ( $count ); |
63 | 64 | |
@@ -114,7 +115,7 @@ discard block |
||
114 | 115 | * |
115 | 116 | * If you have cached data in your stream but not yet stored it into the underlying storage, you should do so now. |
116 | 117 | * |
117 | - * @return booelan TRUE if the cached data was successfully stored (or if there was no data to store), or FALSE if the data could not be stored. |
|
118 | + * @return boolean TRUE if the cached data was successfully stored (or if there was no data to store), or FALSE if the data could not be stored. |
|
118 | 119 | */ |
119 | 120 | function stream_flush ( ); |
120 | 121 | |
@@ -188,7 +189,7 @@ discard block |
||
188 | 189 | * This method is called immediately when your stream object is created for examining directory contents with opendir(). |
189 | 190 | * |
190 | 191 | * @param string $path URL that was passed to opendir() and that this object is expected to explore. |
191 | - * @return booelan |
|
192 | + * @return boolean |
|
192 | 193 | */ |
193 | 194 | function dir_opendir ( $path, $options ); |
194 | 195 |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * Reimplemented to not check our vfs base path with realpath and connect to mysql DB |
58 | 58 | * |
59 | 59 | * @access public |
60 | - * @param $prefix =null prefix filesystem path with given path, eg. "/webdav" for owncloud 4.5 remote.php |
|
60 | + * @param string $prefix =null prefix filesystem path with given path, eg. "/webdav" for owncloud 4.5 remote.php |
|
61 | 61 | */ |
62 | 62 | function ServeRequest($prefix=null) |
63 | 63 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * DELETE method handler |
77 | 77 | * |
78 | 78 | * @param array general parameter passing array |
79 | - * @return bool true on success |
|
79 | + * @return string true on success |
|
80 | 80 | */ |
81 | 81 | function DELETE($options) |
82 | 82 | { |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | * Reimplemented to NOT use dirname/basename, which has problems with utf-8 chars |
117 | 117 | * |
118 | 118 | * @param array general parameter passing array |
119 | - * @return bool true on success |
|
119 | + * @return string true on success |
|
120 | 120 | */ |
121 | 121 | function MKCOL($options) |
122 | 122 | { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | * COPY method handler |
152 | 152 | * |
153 | 153 | * @param array general parameter passing array |
154 | - * @return bool true on success |
|
154 | + * @return string true on success |
|
155 | 155 | */ |
156 | 156 | function COPY($options, $del=false) |
157 | 157 | { |
@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | * but in the regular vfs attributes. |
478 | 478 | * |
479 | 479 | * @param array general parameter passing array |
480 | - * @return bool true on success |
|
480 | + * @return string true on success |
|
481 | 481 | */ |
482 | 482 | function PROPPATCH(&$options) |
483 | 483 | { |
@@ -557,7 +557,7 @@ discard block |
||
557 | 557 | * LOCK method handler |
558 | 558 | * |
559 | 559 | * @param array general parameter passing array |
560 | - * @return bool true on success |
|
560 | + * @return string|boolean true on success |
|
561 | 561 | */ |
562 | 562 | function LOCK(&$options) |
563 | 563 | { |
@@ -583,7 +583,7 @@ discard block |
||
583 | 583 | * UNLOCK method handler |
584 | 584 | * |
585 | 585 | * @param array general parameter passing array |
586 | - * @return bool true on success |
|
586 | + * @return string true on success |
|
587 | 587 | */ |
588 | 588 | function UNLOCK(&$options) |
589 | 589 | { |
@@ -640,7 +640,7 @@ discard block |
||
640 | 640 | * Reimplement to add a Content-Disposition header, if ?download is appended to the REQUEST_URI |
641 | 641 | * |
642 | 642 | * @param array parameter passing array |
643 | - * @return bool true on success |
|
643 | + * @return boolean|null true on success |
|
644 | 644 | */ |
645 | 645 | function GET(&$options) |
646 | 646 | { |