NotGeezArgumentException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 1
1
<?php
2
3
namespace Geezify\Exception;
4
5
use InvalidArgumentException;
6
7
/**
8
 * Class NotGeezArgumentException.
9
 *
10
 * @author Sam As End <4sam21{at}gmail.com>
11
 */
12
class NotGeezArgumentException extends InvalidArgumentException
13
{
14 8
    public function __construct($argument)
15
    {
16 8
        parent::__construct(
17 8
            "Not a geez number!, {$argument} given."
18
        );
19 8
    }
20
}
21