@@ -42,6 +42,9 @@ |
||
42 | 42 | protected $testId; |
43 | 43 | protected $preName; |
44 | 44 | |
45 | + /** |
|
46 | + * @param string $name |
|
47 | + */ |
|
45 | 48 | public function __construct($name=null){ |
46 | 49 | $this->addType('testId', 'integer'); |
47 | 50 | $this->name = $name; |
@@ -22,7 +22,6 @@ |
||
22 | 22 | |
23 | 23 | namespace OC\App; |
24 | 24 | |
25 | -use OC_Util; |
|
26 | 25 | use OCP\IConfig; |
27 | 26 | |
28 | 27 | /** |
@@ -144,6 +144,9 @@ |
||
144 | 144 | return true; |
145 | 145 | } |
146 | 146 | |
147 | + /** |
|
148 | + * @param string $path |
|
149 | + */ |
|
147 | 150 | public function url_stat($path) { |
148 | 151 | if (isset(self::$data[$path])) { |
149 | 152 | $size = strlen(self::$data[$path]); |
@@ -144,6 +144,9 @@ |
||
144 | 144 | return true; |
145 | 145 | } |
146 | 146 | |
147 | + /** |
|
148 | + * @param string $path |
|
149 | + */ |
|
147 | 150 | public function url_stat($path) { |
148 | 151 | if (isset(self::$data[$path])) { |
149 | 152 | $size = strlen(self::$data[$path]); |
@@ -27,7 +27,6 @@ |
||
27 | 27 | use OCP\IUser; |
28 | 28 | use OCP\ILogger; |
29 | 29 | use OCP\Files\Folder; |
30 | - |
|
31 | 30 | use OC\Share20\Exception\ShareNotFound; |
32 | 31 | |
33 | 32 | /** |
@@ -20,7 +20,6 @@ |
||
20 | 20 | */ |
21 | 21 | |
22 | 22 | use OC\Share\MailNotifications; |
23 | -use OCP\IConfig; |
|
24 | 23 | use OCP\IL10N; |
25 | 24 | use OCP\IUser; |
26 | 25 | use OCP\Mail\IMailer; |
@@ -153,7 +153,7 @@ |
||
153 | 153 | |
154 | 154 | /** |
155 | 155 | * @param mixed $offset |
156 | - * @return mixed |
|
156 | + * @return string|null |
|
157 | 157 | */ |
158 | 158 | public function offsetGet($offset) { |
159 | 159 | return $this->get($offset); |
@@ -279,7 +279,7 @@ |
||
279 | 279 | /** |
280 | 280 | * get share ID |
281 | 281 | * |
282 | - * @return integer unique share ID |
|
282 | + * @return string unique share ID |
|
283 | 283 | */ |
284 | 284 | public function getShareId() { |
285 | 285 | return $this->newShare->getId(); |
@@ -202,7 +202,7 @@ |
||
202 | 202 | /** |
203 | 203 | * removes an entry from the comments run time cache |
204 | 204 | * |
205 | - * @param mixed $id the comment's id |
|
205 | + * @param string $id the comment's id |
|
206 | 206 | */ |
207 | 207 | protected function uncache($id) { |
208 | 208 | $id = strval($id); |