NullUri
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 20
c 0
b 0
f 0
wmc 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace BEAR\Resource;
6
7
/** @psalm-import-type Query from Types */
8
final class NullUri extends AbstractUri
9
{
10
    /** @var string */
11
    public $scheme = 'app';
12
13
    /** @var string */
14
    public $host = 'self';
15
16
    /** @var string */
17
    public $path = '/index';
18
19
    /**
20
     * Associative query array
21
     *
22
     * @var Query
0 ignored issues
show
Bug introduced by
The type BEAR\Resource\Query was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
23
     */
24
    public $query = [];
25
26
    /** @var string */
27
    public $method = 'get';
28
}
29