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

MissingArgException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
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