Passed
Pull Request — master (#640)
by Vitor
03:39
created

Provider::getDescription()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
/**
6
 * SPDX-FileCopyrightText: 2024 Rainer Dohmen <[email protected]>
7
 * SPDX-License-Identifier: AGPL-3.0-or-later
8
 */
9
10
namespace OCA\TwoFactorGateway\Provider\Channel\XMPP;
11
12
use OCA\TwoFactorGateway\Provider\AProvider;
13
14
class Provider extends AProvider {
15
16
	#[\Override]
17
	public function getDisplayName(): string {
18
		return $this->l10n->t('XMPP verification');
19
	}
20
21
	#[\Override]
22
	public function getDescription(): string {
23
		return $this->l10n->t('Authenticate via XMPP');
24
	}
25
}
26