MissingTemplateException::missingFile()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types = 1);
3
4
namespace Phauthentic\Presentation\Renderer\Exception;
5
6
/**
7
 * Missing Template Exception
8
 */
9
class MissingTemplateException extends RendererException
10
{
11
    public static function missingFile(string $file ) {
0 ignored issues
show
Coding Style introduced by
Expected 0 spaces before closing parenthesis; 1 found
Loading history...
12
        return new self('Template file missing: ' . $file);
13
    }
14
}
15