ResMeta   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 11 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace BEAR\AppMeta;
6
7
use BEAR\Resource\ResourceObject;
8
9
final class ResMeta
10
{
11
    /** @param class-string<ResourceObject> $class */
0 ignored issues
show
Documentation Bug introduced by
The doc comment class-string<ResourceObject> at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string<ResourceObject>.
Loading history...
12
    public function __construct(
13
        /**
14
         * URI path
15
         */
16
        public string $uriPath,
17
        public string $class,
18
        /**
19
         * File path
20
         */
21
        public string $filePath,
22
    ) {
23
    }
24
}
25