Passed
Pull Request — master (#18)
by Cesar
02:33
created

RotateHasFailed::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 2
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Cesargb\LaravelLog\Events;
4
5
use Exception;
6
7
class RotateHasFailed
8
{
9
    public string $filename;
10
11
    public Exception $exception;
12
13
    public function __construct(string $filename, Exception $exception)
14
    {
15
        $this->filename = $filename;
16
17
        $this->exception = $exception;
18
    }
19
}
20