@@ -369,6 +369,7 @@ |
||
369 | 369 | * already. If not, it will marked like this, because it is expected that |
370 | 370 | * the method will be run, when false is returned. |
371 | 371 | * @param string email | quota | avatar (can be extended) |
372 | + * @param string $feature |
|
372 | 373 | * @return bool |
373 | 374 | */ |
374 | 375 | private function wasRefreshed($feature) { |
@@ -168,7 +168,7 @@ |
||
168 | 168 | * The principals should be passed as a list of uri's. |
169 | 169 | * |
170 | 170 | * @param string $principal |
171 | - * @param array $members |
|
171 | + * @param string[] $members |
|
172 | 172 | * @throws \Sabre\DAV\Exception |
173 | 173 | */ |
174 | 174 | public function setGroupMemberSet($principal, array $members) { |
@@ -166,6 +166,11 @@ |
||
166 | 166 | /* |
167 | 167 | * alias for self::isSubAdminofGroup() |
168 | 168 | */ |
169 | + |
|
170 | + /** |
|
171 | + * @param string $subadmin |
|
172 | + * @param string $group |
|
173 | + */ |
|
169 | 174 | public static function isGroupAccessible($subadmin, $group) { |
170 | 175 | return self::isSubAdminofGroup($subadmin, $group); |
171 | 176 | } |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * If the configuration parameter is optional, add a '&' to the beginning of the value |
86 | 86 | * If the configuration parameter is hidden, add a '#' to the beginning of the value |
87 | 87 | * |
88 | - * @return array |
|
88 | + * @return string |
|
89 | 89 | */ |
90 | 90 | public static function getBackends() { |
91 | 91 | $sortFunc = function ($a, $b) { |
@@ -484,6 +484,7 @@ discard block |
||
484 | 484 | * |
485 | 485 | * @param string $class backend class name |
486 | 486 | * @param array $options backend configuration options |
487 | + * @param boolean $isPersonal |
|
487 | 488 | * @return int see self::STATUS_* |
488 | 489 | */ |
489 | 490 | public static function getBackendStatus($class, $options, $isPersonal) { |
@@ -789,7 +790,7 @@ discard block |
||
789 | 790 | * @param OC_L10N $l |
790 | 791 | * @param string $module |
791 | 792 | * @param string $backend |
792 | - * @return string |
|
793 | + * @return OC_L10N_String |
|
793 | 794 | */ |
794 | 795 | private static function getSingleDependencyMessage(OC_L10N $l, $module, $backend) { |
795 | 796 | switch (strtolower($module)) { |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * This is being run in normal order before the controller is being |
69 | 69 | * called which allows several modifications and checks |
70 | 70 | * |
71 | - * @param Controller $controller the controller that is being called |
|
71 | + * @param CORSMiddlewareTest $controller the controller that is being called |
|
72 | 72 | * @param string $methodName the name of the method that will be called on |
73 | 73 | * the controller |
74 | 74 | * @since 6.0.0 |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * This is being run after a successful controllermethod call and allows |
93 | 93 | * the manipulation of a Response object. The middleware is run in reverse order |
94 | 94 | * |
95 | - * @param Controller $controller the controller that is being called |
|
95 | + * @param CORSMiddlewareTest $controller the controller that is being called |
|
96 | 96 | * @param string $methodName the name of the method that will be called on |
97 | 97 | * the controller |
98 | 98 | * @param Response $response the generated response from the controller |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
51 | - * @param Job|string $job |
|
51 | + * @param \Test\BackgroundJob\TestJob $job |
|
52 | 52 | * @param mixed $argument |
53 | 53 | */ |
54 | 54 | public function add($job, $argument = null) { |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | } |
69 | 69 | |
70 | 70 | /** |
71 | - * @param Job|string $job |
|
71 | + * @param Job $job |
|
72 | 72 | * @param mixed $argument |
73 | 73 | */ |
74 | 74 | public function remove($job, $argument = null) { |
@@ -153,6 +153,9 @@ discard block |
||
153 | 153 | return $result['physic_path']; |
154 | 154 | } |
155 | 155 | |
156 | + /** |
|
157 | + * @param string|false $physicalPath |
|
158 | + */ |
|
156 | 159 | private function resolvePhysicalPath($physicalPath) { |
157 | 160 | $physicalPath = $this->resolveRelativePath($physicalPath); |
158 | 161 | $sql = \OC_DB::prepare('SELECT * FROM `*PREFIX*file_map` WHERE `physic_path_hash` = ?'); |
@@ -210,6 +213,10 @@ discard block |
||
210 | 213 | return $physicalPath; |
211 | 214 | } |
212 | 215 | |
216 | + /** |
|
217 | + * @param string|false $logicPath |
|
218 | + * @param string|false $physicalPath |
|
219 | + */ |
|
213 | 220 | private function insert($logicPath, $physicalPath) { |
214 | 221 | $sql = 'INSERT INTO `*PREFIX*file_map` (`logic_path`, `physic_path`, `logic_path_hash`, `physic_path_hash`) |
215 | 222 | VALUES (?, ?, ?, ?)'; |
@@ -144,6 +144,8 @@ |
||
144 | 144 | * {@inheritDoc} |
145 | 145 | * |
146 | 146 | * Re-declared as public to allow invocation from within the closure above in php 5.3 |
147 | + * @param string $scope |
|
148 | + * @param string $method |
|
147 | 149 | */ |
148 | 150 | public function emit($scope, $method, array $arguments = array()) { |
149 | 151 | parent::emit($scope, $method, $arguments); |
@@ -136,7 +136,7 @@ |
||
136 | 136 | * Returns the list of members for a group-principal |
137 | 137 | * |
138 | 138 | * @param string $principal |
139 | - * @return array |
|
139 | + * @return string[] |
|
140 | 140 | */ |
141 | 141 | function getGroupMemberSet($principal) { |
142 | 142 | // TODO: for now the group principal has only one member, the user itself |