Completed
Push — master ( 2d123f...e5997e )
by Abdelrahman
01:43
created

InvalidConfiguration::missingCredentials()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * NOTICE OF LICENSE
5
 *
6
 * Part of the Rinvex Authy Package.
7
 *
8
 * This source file is subject to The MIT License (MIT)
9
 * that is bundled with this package in the LICENSE file.
10
 *
11
 * Package: Rinvex Authy Package
12
 * License: The MIT License (MIT)
13
 * Link:    https://rinvex.com
14
 */
15
16
declare(strict_types=1);
17
18
namespace Rinvex\Authy;
19
20
use Exception;
21
22
class InvalidConfiguration extends Exception
23
{
24
    public static function missingCredentials()
25
    {
26
        return new static('You need to add `authy` credentials in `config/services.php`.');
27
    }
28
}
29