Completed
Pull Request — master (#57)
by Wilmer
02:09
created

InvalidConfigException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
dl 0
loc 13
ccs 2
cts 2
cp 1
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Yiisoft\Widget\Exception;
5
6
use Throwable;
7
8
/**
9
 * Class InvalidConfigException.
10
 */
11
class InvalidConfigException extends \Exception
12
{
13
    /**
14
     * __construct.
15
     *
16
     * @param string $message
17
     * @param integer $code
18
     *
19
     * @param Throwable $previous
20
     */
21 2
    public function __construct(string $message, int $code = 0, Throwable $previous = null)
22
    {
23 2
        parent::__construct($message, $code, $previous);
24
    }
25
}
26