Completed
Push — master ( 4658c5...40e785 )
by Daniel
01:45
created

MissingArgException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
namespace MallardDuck\Whois\Exceptions;
3
4
class MissingArgException extends \Exception
5
{
6
7
    // Redefine the exception so message isn't optional
8
    public function __construct($message, $code = 0, Exception $previous = null) {
0 ignored issues
show
Bug introduced by
The type MallardDuck\Whois\Exceptions\Exception was not found. Did you mean Exception? If so, make sure to prefix the type with \.
Loading history...
9
        // some code
10
11
        // make sure everything is assigned properly
12
        parent::__construct($message, $code, $previous);
13
    }
14
15
}
16