Passed
Pull Request — main (#22)
by Andrey
16:14
created

Digit::getFacadeAccessor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Helldar\Support\Facades\Helpers;
4
5
use Helldar\Support\Facades\BaseFacade;
6
use Helldar\Support\Helpers\Digit as Helper;
7
8
/**
9
 * @method static float rounded(float $number, int $length = 4, int $precision = 1)
10
 * @method static int factorial(int $n = 0)
11
 * @method static string shortKey(int $number, string $chars = 'abcdefghijklmnopqrstuvwxyz')
12
 * @method static string toShort(float $number, int $precision = 1)
13
 */
14
final class Digit extends BaseFacade
15
{
16
    protected static function getFacadeAccessor()
17
    {
18
        return Helper::class;
19
    }
20
}
21