GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

ReturnMeta   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 33
ccs 6
cts 6
cp 1
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
namespace PhpBoot\Metas;
4
5
use PhpBoot\Entity\ContainerInterface;
6
use PhpBoot\Entity\TypeContainerInterface;
7
8
class ReturnMeta
9
{
10 4
    public function __construct($source, $type, $description, $container)
11
    {
12 4
        $this->source = $source;
13 4
        $this->type = $type;
14 4
        $this->description = $description;
15 4
        $this->container = $container;
16 4
    }
17
18
    /**
19
     * @var string
20
     * 返回值来源,语法 http://jmespath.org/tutorial.html
21
     * 目前支持的返回值来源包括: return的返回值, &引用变量的输出, 常量
22
     * 分别用return 和params, `常量`
23
     */
24
    public $source;
25
26
    /**
27
     * @var string 返回值类型
28
     */
29
    public $type;
30
31
    /**
32
     * @var string
33
     */
34
    public $description;
35
36
    /**
37
     * @var TypeContainerInterface|null
38
     */
39
    public $container;
40
}