| @@ -24,25 +24,25 @@ | ||
| 24 | 24 | namespace OCA\Files_External\Service; | 
| 25 | 25 | |
| 26 | 26 |  class ImportLegacyStoragesService extends LegacyStoragesService { | 
| 27 | - private $data; | |
| 27 | + private $data; | |
| 28 | 28 | |
| 29 | - /** | |
| 30 | - * @param BackendService $backendService | |
| 31 | - */ | |
| 32 | -	public function __construct(BackendService $backendService) { | |
| 33 | - $this->backendService = $backendService; | |
| 34 | - } | |
| 29 | + /** | |
| 30 | + * @param BackendService $backendService | |
| 31 | + */ | |
| 32 | +    public function __construct(BackendService $backendService) { | |
| 33 | + $this->backendService = $backendService; | |
| 34 | + } | |
| 35 | 35 | |
| 36 | -	public function setData($data) { | |
| 37 | - $this->data = $data; | |
| 38 | - } | |
| 36 | +    public function setData($data) { | |
| 37 | + $this->data = $data; | |
| 38 | + } | |
| 39 | 39 | |
| 40 | - /** | |
| 41 | - * Read legacy config data | |
| 42 | - * | |
| 43 | - * @return array list of mount configs | |
| 44 | - */ | |
| 45 | -	protected function readLegacyConfig() { | |
| 46 | - return $this->data; | |
| 47 | - } | |
| 40 | + /** | |
| 41 | + * Read legacy config data | |
| 42 | + * | |
| 43 | + * @return array list of mount configs | |
| 44 | + */ | |
| 45 | +    protected function readLegacyConfig() { | |
| 46 | + return $this->data; | |
| 47 | + } | |
| 48 | 48 | } | 
| @@ -28,10 +28,10 @@ | ||
| 28 | 28 | * For auth mechanisms where the user needs to provide credentials | 
| 29 | 29 | */ | 
| 30 | 30 |  interface IUserProvided { | 
| 31 | - /** | |
| 32 | - * @param IUser $user the user for which to save the user provided options | |
| 33 | - * @param int $mountId the mount id to save the options for | |
| 34 | - * @param array $options the user provided options | |
| 35 | - */ | |
| 36 | - public function saveBackendOptions(IUser $user, $mountId, array $options); | |
| 31 | + /** | |
| 32 | + * @param IUser $user the user for which to save the user provided options | |
| 33 | + * @param int $mountId the mount id to save the options for | |
| 34 | + * @param array $options the user provided options | |
| 35 | + */ | |
| 36 | + public function saveBackendOptions(IUser $user, $mountId, array $options); | |
| 37 | 37 | } | 
| @@ -30,10 +30,10 @@ | ||
| 30 | 30 | */ | 
| 31 | 31 |  interface IBackendProvider { | 
| 32 | 32 | |
| 33 | - /** | |
| 34 | - * @since 9.1.0 | |
| 35 | - * @return Backend[] | |
| 36 | - */ | |
| 37 | - public function getBackends(); | |
| 33 | + /** | |
| 34 | + * @since 9.1.0 | |
| 35 | + * @return Backend[] | |
| 36 | + */ | |
| 37 | + public function getBackends(); | |
| 38 | 38 | |
| 39 | 39 | } | 
| @@ -30,10 +30,10 @@ | ||
| 30 | 30 | */ | 
| 31 | 31 |  interface IAuthMechanismProvider { | 
| 32 | 32 | |
| 33 | - /** | |
| 34 | - * @since 9.1.0 | |
| 35 | - * @return AuthMechanism[] | |
| 36 | - */ | |
| 37 | - public function getAuthMechanisms(); | |
| 33 | + /** | |
| 34 | + * @since 9.1.0 | |
| 35 | + * @return AuthMechanism[] | |
| 36 | + */ | |
| 37 | + public function getAuthMechanisms(); | |
| 38 | 38 | |
| 39 | 39 | } | 
| @@ -29,14 +29,14 @@ | ||
| 29 | 29 | */ | 
| 30 | 30 |  trait DependencyTrait { | 
| 31 | 31 | |
| 32 | - /** | |
| 33 | - * Check if object is valid for use | |
| 34 | - * | |
| 35 | - * @return MissingDependency[] Unsatisfied dependencies | |
| 36 | - */ | |
| 37 | -	public function checkDependencies() { | |
| 38 | - return []; // no dependencies by default | |
| 39 | - } | |
| 32 | + /** | |
| 33 | + * Check if object is valid for use | |
| 34 | + * | |
| 35 | + * @return MissingDependency[] Unsatisfied dependencies | |
| 36 | + */ | |
| 37 | +    public function checkDependencies() { | |
| 38 | + return []; // no dependencies by default | |
| 39 | + } | |
| 40 | 40 | |
| 41 | 41 | } | 
| 42 | 42 | |
| @@ -23,12 +23,12 @@ | ||
| 23 | 23 | namespace OCA\Files_Sharing\External; | 
| 24 | 24 | |
| 25 | 25 |  class Watcher extends \OC\Files\Cache\Watcher { | 
| 26 | - /** | |
| 27 | - * remove deleted files in $path from the cache | |
| 28 | - * | |
| 29 | - * @param string $path | |
| 30 | - */ | |
| 31 | -	public function cleanFolder($path) { | |
| 32 | - // not needed, the scanner takes care of this | |
| 33 | - } | |
| 26 | + /** | |
| 27 | + * remove deleted files in $path from the cache | |
| 28 | + * | |
| 29 | + * @param string $path | |
| 30 | + */ | |
| 31 | +    public function cleanFolder($path) { | |
| 32 | + // not needed, the scanner takes care of this | |
| 33 | + } | |
| 34 | 34 | } | 
| @@ -34,13 +34,13 @@ | ||
| 34 | 34 | */ | 
| 35 | 35 |  class BackupCode extends Entity { | 
| 36 | 36 | |
| 37 | - /** @var string */ | |
| 38 | - protected $userId; | |
| 37 | + /** @var string */ | |
| 38 | + protected $userId; | |
| 39 | 39 | |
| 40 | - /** @var string */ | |
| 41 | - protected $code; | |
| 40 | + /** @var string */ | |
| 41 | + protected $code; | |
| 42 | 42 | |
| 43 | - /** @var int */ | |
| 44 | - protected $used; | |
| 43 | + /** @var int */ | |
| 44 | + protected $used; | |
| 45 | 45 | |
| 46 | 46 | } | 
| @@ -38,12 +38,12 @@ | ||
| 38 | 38 | * @since 6.0.0 | 
| 39 | 39 | */ | 
| 40 | 40 |  interface IConsumer { | 
| 41 | - /** | |
| 42 | - * @param IEvent $event | |
| 43 | - * @return null | |
| 44 | - * @since 6.0.0 | |
| 45 | - * @since 8.2.0 Replaced the parameters with an IEvent object | |
| 46 | - */ | |
| 47 | - public function receive(IEvent $event); | |
| 41 | + /** | |
| 42 | + * @param IEvent $event | |
| 43 | + * @return null | |
| 44 | + * @since 6.0.0 | |
| 45 | + * @since 8.2.0 Replaced the parameters with an IEvent object | |
| 46 | + */ | |
| 47 | + public function receive(IEvent $event); | |
| 48 | 48 | } | 
| 49 | 49 | |
| @@ -30,33 +30,33 @@ | ||
| 30 | 30 | * @since 8.0.0 | 
| 31 | 31 | */ | 
| 32 | 32 |  interface IEvent { | 
| 33 | - /** | |
| 34 | - * @return string | |
| 35 | - * @since 8.0.0 | |
| 36 | - */ | |
| 37 | - public function getId(); | |
| 33 | + /** | |
| 34 | + * @return string | |
| 35 | + * @since 8.0.0 | |
| 36 | + */ | |
| 37 | + public function getId(); | |
| 38 | 38 | |
| 39 | - /** | |
| 40 | - * @return string | |
| 41 | - * @since 8.0.0 | |
| 42 | - */ | |
| 43 | - public function getDescription(); | |
| 39 | + /** | |
| 40 | + * @return string | |
| 41 | + * @since 8.0.0 | |
| 42 | + */ | |
| 43 | + public function getDescription(); | |
| 44 | 44 | |
| 45 | - /** | |
| 46 | - * @return float | |
| 47 | - * @since 8.0.0 | |
| 48 | - */ | |
| 49 | - public function getStart(); | |
| 45 | + /** | |
| 46 | + * @return float | |
| 47 | + * @since 8.0.0 | |
| 48 | + */ | |
| 49 | + public function getStart(); | |
| 50 | 50 | |
| 51 | - /** | |
| 52 | - * @return float | |
| 53 | - * @since 8.0.0 | |
| 54 | - */ | |
| 55 | - public function getEnd(); | |
| 51 | + /** | |
| 52 | + * @return float | |
| 53 | + * @since 8.0.0 | |
| 54 | + */ | |
| 55 | + public function getEnd(); | |
| 56 | 56 | |
| 57 | - /** | |
| 58 | - * @return float | |
| 59 | - * @since 8.0.0 | |
| 60 | - */ | |
| 61 | - public function getDuration(); | |
| 57 | + /** | |
| 58 | + * @return float | |
| 59 | + * @since 8.0.0 | |
| 60 | + */ | |
| 61 | + public function getDuration(); | |
| 62 | 62 | } |