Types   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ray\Compiler;
6
7
use Ray\Di\Annotation\ScriptDir;
8
use Ray\Di\InjectorInterface;
9
10
/**
11
 * Type definitions for Ray.Compiler
12
 *
13
 * @psalm-type ScriptDir = non-empty-string
14
 * @psalm-type Ip = array{0: string, 1: string, 2: string}
15
 * @psalm-type Singletons = array<string, object>
16
 * @psalm-type Prottype = callable(string, Ip): mixed
17
 * @psalm-type Singleton = callable(string, Ip): mixed
18
 * @psalm-type InjectionPoint = callable(): InjectionPoint
19
 * @psalm-type Injector = callable(): InjectorInterface
20
 * @psalm-type ScriptDirs = list<ScriptDir>
21
 * @psalm-type Scripts = array<string, string>
22
 * @psalm-type SavedSingletons = list<class-string>
23
 * @psalm-type ConstructorParams = list<mixed>
24
 * @psalm-type BindingCode = list<string>
25
 * @psalm-type SetterCode = list<string>
26
 * @psalm-type IpParameters = list<object|null>
27
 */
28
final class Types
29
{
30
    /** @codeCoverageIgnore */
31
    private function __construct()
32
    {
33
    }
34
}
35