Completed
Pull Request — master (#223)
by Jaap
07:24
created

Docblock   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace phpDocumentor\Reflection\AST;
6
7
class Docblock
8
{
9
    private $tags;
10
11
    /**
12
     * @var string|null
13
     */
14
    private $summary;
15
16
    public function __construct(?string $summary = null, Tag ...$tags)
17
    {
18
        $this->summary = $summary;
19
        $this->tags = $tags;
20
    }
21
}
22