@@ -29,29 +29,29 @@ |
||
| 29 | 29 | |
| 30 | 30 | class Admin implements ISettings { |
| 31 | 31 | |
| 32 | - /** |
|
| 33 | - * @return TemplateResponse |
|
| 34 | - */ |
|
| 35 | - public function getForm() { |
|
| 36 | - return new TemplateResponse('systemtags', 'admin', [], ''); |
|
| 37 | - } |
|
| 32 | + /** |
|
| 33 | + * @return TemplateResponse |
|
| 34 | + */ |
|
| 35 | + public function getForm() { |
|
| 36 | + return new TemplateResponse('systemtags', 'admin', [], ''); |
|
| 37 | + } |
|
| 38 | 38 | |
| 39 | - /** |
|
| 40 | - * @return string the section ID, e.g. 'sharing' |
|
| 41 | - */ |
|
| 42 | - public function getSection() { |
|
| 43 | - return 'server'; |
|
| 44 | - } |
|
| 39 | + /** |
|
| 40 | + * @return string the section ID, e.g. 'sharing' |
|
| 41 | + */ |
|
| 42 | + public function getSection() { |
|
| 43 | + return 'server'; |
|
| 44 | + } |
|
| 45 | 45 | |
| 46 | - /** |
|
| 47 | - * @return int whether the form should be rather on the top or bottom of |
|
| 48 | - * the admin section. The forms are arranged in ascending order of the |
|
| 49 | - * priority values. It is required to return a value between 0 and 100. |
|
| 50 | - * |
|
| 51 | - * E.g.: 70 |
|
| 52 | - */ |
|
| 53 | - public function getPriority() { |
|
| 54 | - return 70; |
|
| 55 | - } |
|
| 46 | + /** |
|
| 47 | + * @return int whether the form should be rather on the top or bottom of |
|
| 48 | + * the admin section. The forms are arranged in ascending order of the |
|
| 49 | + * priority values. It is required to return a value between 0 and 100. |
|
| 50 | + * |
|
| 51 | + * E.g.: 70 |
|
| 52 | + */ |
|
| 53 | + public function getPriority() { |
|
| 54 | + return 70; |
|
| 55 | + } |
|
| 56 | 56 | |
| 57 | 57 | } |
@@ -29,45 +29,45 @@ |
||
| 29 | 29 | use OCP\Settings\IIconSection; |
| 30 | 30 | |
| 31 | 31 | class Section implements IIconSection { |
| 32 | - /** @var IL10N */ |
|
| 33 | - private $l; |
|
| 34 | - /** @var IURLGenerator */ |
|
| 35 | - private $url; |
|
| 32 | + /** @var IL10N */ |
|
| 33 | + private $l; |
|
| 34 | + /** @var IURLGenerator */ |
|
| 35 | + private $url; |
|
| 36 | 36 | |
| 37 | - /** |
|
| 38 | - * @param IURLGenerator $url |
|
| 39 | - * @param IL10N $l |
|
| 40 | - */ |
|
| 41 | - public function __construct(IURLGenerator $url, IL10N $l) { |
|
| 42 | - $this->url = $url; |
|
| 43 | - $this->l = $l; |
|
| 44 | - } |
|
| 37 | + /** |
|
| 38 | + * @param IURLGenerator $url |
|
| 39 | + * @param IL10N $l |
|
| 40 | + */ |
|
| 41 | + public function __construct(IURLGenerator $url, IL10N $l) { |
|
| 42 | + $this->url = $url; |
|
| 43 | + $this->l = $l; |
|
| 44 | + } |
|
| 45 | 45 | |
| 46 | - /** |
|
| 47 | - * {@inheritdoc} |
|
| 48 | - */ |
|
| 49 | - public function getID() { |
|
| 50 | - return 'workflow'; |
|
| 51 | - } |
|
| 46 | + /** |
|
| 47 | + * {@inheritdoc} |
|
| 48 | + */ |
|
| 49 | + public function getID() { |
|
| 50 | + return 'workflow'; |
|
| 51 | + } |
|
| 52 | 52 | |
| 53 | - /** |
|
| 54 | - * {@inheritdoc} |
|
| 55 | - */ |
|
| 56 | - public function getName() { |
|
| 57 | - return $this->l->t('Flow'); |
|
| 58 | - } |
|
| 53 | + /** |
|
| 54 | + * {@inheritdoc} |
|
| 55 | + */ |
|
| 56 | + public function getName() { |
|
| 57 | + return $this->l->t('Flow'); |
|
| 58 | + } |
|
| 59 | 59 | |
| 60 | - /** |
|
| 61 | - * {@inheritdoc} |
|
| 62 | - */ |
|
| 63 | - public function getPriority() { |
|
| 64 | - return 55; |
|
| 65 | - } |
|
| 60 | + /** |
|
| 61 | + * {@inheritdoc} |
|
| 62 | + */ |
|
| 63 | + public function getPriority() { |
|
| 64 | + return 55; |
|
| 65 | + } |
|
| 66 | 66 | |
| 67 | - /** |
|
| 68 | - * {@inheritdoc} |
|
| 69 | - */ |
|
| 70 | - public function getIcon() { |
|
| 71 | - return $this->url->imagePath(Application::APP_ID, 'app-dark.svg'); |
|
| 72 | - } |
|
| 67 | + /** |
|
| 68 | + * {@inheritdoc} |
|
| 69 | + */ |
|
| 70 | + public function getIcon() { |
|
| 71 | + return $this->url->imagePath(Application::APP_ID, 'app-dark.svg'); |
|
| 72 | + } |
|
| 73 | 73 | } |