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::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 6
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 4
dl 0
loc 7
ccs 6
cts 6
cp 1
crap 1
rs 10
c 0
b 0
f 0
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
}