InvalidResourceDirectory   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 14
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
namespace PHPJasper\Exception;
3
/**
4
 * Class InvalidResourceDirectory
5
 * @package PHPJasper\Exception
6
 */
7
class InvalidResourceDirectory extends \Exception
8
{
9
10
    /**
11
     * Invalid Resource Directory constructor.
12
     *
13
     * @param string $message
14
     * @param int $code
15
     * @param Exception|null $previous
16
     */
17
    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...
18
    {
19
        $message = 'Invalid resource directory';
20
        parent::__construct($message, $code, $previous);
21
    }
22
}