Issues (101)

src/di/InjectionPointInterface.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ray\Di;
6
7
use Ray\Aop\ReflectionClass;
8
use Ray\Aop\ReflectionMethod;
9
use ReflectionParameter;
10
11
/**
12
 * @psalm-import-type QualifierList from Types
13
 */
14
interface InjectionPointInterface
15
{
16
    /**
17
     * Return parameter reflection
18
     */
19
    public function getParameter(): ReflectionParameter;
20
21
    /**
22
     * Return method reflection
23
     */
24
    public function getMethod(): ReflectionMethod;
25
26
    /**
27
     * Return class reflection
28
     *
29
     * @psalm-return ReflectionClass
30
     * @phpstan-return ReflectionClass<object>
31
     */
32
    public function getClass(): ReflectionClass;
33
34
    /**
35
     * Return Qualifier annotations
36
     *
37
     * @return QualifierList
0 ignored issues
show
The type Ray\Di\QualifierList 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...
38
     */
39
    public function getQualifiers(): array;
40
}
41