RefNotFoundException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
/**
3
 * @author Todd Burry <[email protected]>
4
 * @copyright 2009-2018 Vanilla Forums Inc.
5
 * @license MIT
6
 */
7
8
namespace Garden\Schema;
9
10
use Throwable;
11
12
/**
13
 * An exception that represents a reference not being found.
14
 */
15
class RefNotFoundException extends \Exception {
16
    /**
17
     * RefNotFoundException constructor.
18
     *
19
     * @param string $message The error message.
20
     * @param int $number The error number.
21
     * @param Throwable|null $previous The previous exeption.
22
     */
23 7
    public function __construct(string $message = "", $number = 404, Throwable $previous = null) {
24 7
        parent::__construct($message, $number, $previous);
25 7
    }
26
}
27