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

Docblock::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
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