CannotGetTypeForCDataException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
eloc 2
c 1
b 1
f 0
dl 0
loc 9
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
/**
4
 * This file is part of the sj-i/php-profiler package.
5
 *
6
 * (c) sji <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace PhpProfiler\Lib\FFI;
15
16
use Throwable;
17
18
final class CannotGetTypeForCDataException extends \Exception
19
{
20
    public function __construct(
21
        string $message = "",
22
        int $code = 0,
23
        ?Throwable $previous = null,
24
        public string $type = '',
25
    ) {
26
        parent::__construct($message, $code, $previous);
27
    }
28
}
29