Passed
Push — master ( 4efb65...8ee2ab )
by Mr
01:53
created

InvalidArgumentException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 8
rs 10
ccs 2
cts 2
cp 1
cc 1
nc 1
nop 5
crap 1
1
<?php declare(strict_types=1);
2
/**
3
 * This file is part of the daikon-cqrs/interop project.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
9
namespace Daikon\Interop;
10
11
use Assert\InvalidArgumentException as BaseInvalidArgumentException;
12
13
class InvalidArgumentException extends BaseInvalidArgumentException implements DaikonException
14
{
15
    /** @param mixed $value */
16 6
    public function __construct(
17
        string $message = '',
18
        int $code = 0,
19
        string $propertyPath = null,
20
        $value = null,
21
        array $constraints = []
22
    ) {
23 6
        parent::__construct($message, $code, $propertyPath, $value, $constraints);
24 6
    }
25
}
26