InvalidCommandExecutable   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
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 InvalidCommandExecutable
5
 * @package PHPJasper\Exception
6
 */
7
class InvalidCommandExecutable extends \Exception
8
{
9
10
    /**
11
     * InvalidCommandExecutable 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 = 'Cannot execute a blank command';
19
        parent::__construct($message, $code, $previous);
20
    }
21
}