Completed
Push — master ( 46643f...f8548b )
by ARCANEDEV
20s queued 14s
created

LogNotFoundException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 14
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A make() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Arcanedev\LogViewer\Exceptions;
6
7
/**
8
 * Class     LogNotFoundException
9
 *
10
 * @author   ARCANEDEV <[email protected]>
11
 */
12
class LogNotFoundException extends LogViewerException
13
{
14
    /**
15
     * Make the exception.
16
     *
17
     * @param  string  $date
18
     *
19
     * @return static
20
     */
21 16
    public static function make(string $date)
22
    {
23 16
        return new static("Log not found in this date [{$date}]");
24
    }
25
}
26