InvalidInputFile::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 3
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
namespace PHPJasper\Exception;
3
/**
4
 * Class InvalidInputFile
5
 * @package PHPJasper\Exception
6
 */
7
class InvalidInputFile extends \Exception
8
{
9
10
    /**
11
     * InvalidInputFile constructor.
12
     * @param string $message
13
     * @param int $code
14
     * @param Exception|null $previous
15
     */
16
    public function __construct($message = "", $code = 0, Exception $previous = null)
0 ignored issues
show
Bug introduced by
The type PHPJasper\Exception\Exception was not found. Did you mean Exception? If so, make sure to prefix the type with \.
Loading history...
17
    {
18
        $message = 'No input file';
19
        parent::__construct($message, $code, $previous);
20
    }
21
}