Provider::getDisplayName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

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