@@ -30,18 +30,14 @@ |
||
| 30 | 30 | use OCA\Files_external\Lib\StorageConfig; |
| 31 | 31 | use OCA\Files_External\Service\BackendService; |
| 32 | 32 | use OCA\Files_external\Service\GlobalStoragesService; |
| 33 | -use OCA\Files_external\Service\ImportLegacyStoragesService; |
|
| 34 | 33 | use OCA\Files_external\Service\UserStoragesService; |
| 35 | 34 | use OCP\IUserManager; |
| 36 | 35 | use OCP\IUserSession; |
| 37 | 36 | use Symfony\Component\Console\Command\Command; |
| 38 | -use Symfony\Component\Console\Helper\Table; |
|
| 39 | -use Symfony\Component\Console\Helper\TableHelper; |
|
| 40 | 37 | use Symfony\Component\Console\Input\ArrayInput; |
| 41 | 38 | use Symfony\Component\Console\Input\InputArgument; |
| 42 | 39 | use Symfony\Component\Console\Input\InputInterface; |
| 43 | 40 | use Symfony\Component\Console\Input\InputOption; |
| 44 | -use Symfony\Component\Console\Input\Input; |
|
| 45 | 41 | use Symfony\Component\Console\Output\OutputInterface; |
| 46 | 42 | |
| 47 | 43 | class Create extends Base { |
@@ -28,8 +28,6 @@ |
||
| 28 | 28 | use OCP\IGroupManager; |
| 29 | 29 | use OCP\IUserManager; |
| 30 | 30 | use Symfony\Component\Console\Command\Command; |
| 31 | -use Symfony\Component\Console\Helper\Table; |
|
| 32 | -use Symfony\Component\Console\Helper\TableHelper; |
|
| 33 | 31 | use Symfony\Component\Console\Input\InputArgument; |
| 34 | 32 | use Symfony\Component\Console\Input\InputInterface; |
| 35 | 33 | use Symfony\Component\Console\Input\InputOption; |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | namespace OCA\DAV\Connector\Sabre; |
| 22 | 22 | |
| 23 | 23 | use Sabre\Xml\XmlSerializable; |
| 24 | -use Sabre\Xml\Element; |
|
| 25 | 24 | use Sabre\Xml\Writer; |
| 26 | 25 | |
| 27 | 26 | /** |
@@ -332,7 +332,7 @@ discard block |
||
| 332 | 332 | /** |
| 333 | 333 | * get the users email address |
| 334 | 334 | * |
| 335 | - * @return string|null |
|
| 335 | + * @return string |
|
| 336 | 336 | * @since 9.0.0 |
| 337 | 337 | */ |
| 338 | 338 | public function getEMailAddress() { |
@@ -417,6 +417,10 @@ discard block |
||
| 417 | 417 | return $url; |
| 418 | 418 | } |
| 419 | 419 | |
| 420 | + /** |
|
| 421 | + * @param string $feature |
|
| 422 | + * @param string $value |
|
| 423 | + */ |
|
| 420 | 424 | public function triggerChange($feature, $value = null) { |
| 421 | 425 | if ($this->emitter) { |
| 422 | 426 | $this->emitter->emit('\OC\User', 'changeUser', array($this, $feature, $value)); |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * DispatcherEvent constructor. |
| 47 | 47 | * |
| 48 | 48 | * @param string $event |
| 49 | - * @param $appID |
|
| 49 | + * @param string $appID |
|
| 50 | 50 | * @param \OCP\IGroup[] $groups |
| 51 | 51 | * @since 9.0.0 |
| 52 | 52 | */ |
@@ -370,7 +370,7 @@ |
||
| 370 | 370 | * @param string $path path to the file which should be updated |
| 371 | 371 | * @param string $uid of the user who performs the operation |
| 372 | 372 | * @param array $accessList who has access to the file contains the key 'users' and 'public' |
| 373 | - * @return boolean |
|
| 373 | + * @return null|boolean |
|
| 374 | 374 | */ |
| 375 | 375 | public function update($path, $uid, array $accessList) { |
| 376 | 376 | |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | namespace OCA\DAV\Connector\Sabre; |
| 22 | 22 | |
| 23 | 23 | use Sabre\Xml\XmlSerializable; |
| 24 | -use Sabre\Xml\Element; |
|
| 25 | 24 | use Sabre\Xml\Writer; |
| 26 | 25 | |
| 27 | 26 | /** |
@@ -128,7 +128,6 @@ |
||
| 128 | 128 | /** |
| 129 | 129 | * Get $n re-shares from the database |
| 130 | 130 | * |
| 131 | - * @param int $n The max number of shares to fetch |
|
| 132 | 131 | * @return \Doctrine\DBAL\Driver\Statement |
| 133 | 132 | */ |
| 134 | 133 | private function getReShares() { |
@@ -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 |