@@ -35,12 +35,12 @@ |
||
35 | 35 | $OC_VersionString = '20.0.0 RC1'; |
36 | 36 | |
37 | 37 | $OC_VersionCanBeUpgradedFrom = [ |
38 | - 'nextcloud' => [ |
|
39 | - '19.0' => true, |
|
40 | - '20.0' => true, |
|
41 | - ], |
|
42 | - 'owncloud' => [ |
|
43 | - ], |
|
38 | + 'nextcloud' => [ |
|
39 | + '19.0' => true, |
|
40 | + '20.0' => true, |
|
41 | + ], |
|
42 | + 'owncloud' => [ |
|
43 | + ], |
|
44 | 44 | ]; |
45 | 45 | |
46 | 46 | // default Nextcloud channel |
@@ -32,41 +32,41 @@ |
||
32 | 32 | * @since 20.0.0 |
33 | 33 | */ |
34 | 34 | class GetQuotaEvent extends Event { |
35 | - /** @var IUser */ |
|
36 | - private $user; |
|
37 | - /** @var string|null */ |
|
38 | - private $quota = null; |
|
35 | + /** @var IUser */ |
|
36 | + private $user; |
|
37 | + /** @var string|null */ |
|
38 | + private $quota = null; |
|
39 | 39 | |
40 | - /** |
|
41 | - * @since 20.0.0 |
|
42 | - */ |
|
43 | - public function __construct(IUser $user) { |
|
44 | - parent::__construct(); |
|
45 | - $this->user = $user; |
|
46 | - } |
|
40 | + /** |
|
41 | + * @since 20.0.0 |
|
42 | + */ |
|
43 | + public function __construct(IUser $user) { |
|
44 | + parent::__construct(); |
|
45 | + $this->user = $user; |
|
46 | + } |
|
47 | 47 | |
48 | - /** |
|
49 | - * @since 20.0.0 |
|
50 | - */ |
|
51 | - public function getUser(): IUser { |
|
52 | - return $this->user; |
|
53 | - } |
|
48 | + /** |
|
49 | + * @since 20.0.0 |
|
50 | + */ |
|
51 | + public function getUser(): IUser { |
|
52 | + return $this->user; |
|
53 | + } |
|
54 | 54 | |
55 | - /** |
|
56 | - * Get the set quota as human readable string, or null if no overwrite is set |
|
57 | - * |
|
58 | - * @since 20.0.0 |
|
59 | - */ |
|
60 | - public function getQuota(): ?string { |
|
61 | - return $this->quota; |
|
62 | - } |
|
55 | + /** |
|
56 | + * Get the set quota as human readable string, or null if no overwrite is set |
|
57 | + * |
|
58 | + * @since 20.0.0 |
|
59 | + */ |
|
60 | + public function getQuota(): ?string { |
|
61 | + return $this->quota; |
|
62 | + } |
|
63 | 63 | |
64 | - /** |
|
65 | - * Set the quota overwrite as human readable string |
|
66 | - * |
|
67 | - * @since 20.0.0 |
|
68 | - */ |
|
69 | - public function setQuota(string $quota): void { |
|
70 | - $this->quota = $quota; |
|
71 | - } |
|
64 | + /** |
|
65 | + * Set the quota overwrite as human readable string |
|
66 | + * |
|
67 | + * @since 20.0.0 |
|
68 | + */ |
|
69 | + public function setQuota(string $quota): void { |
|
70 | + $this->quota = $quota; |
|
71 | + } |
|
72 | 72 | } |