Code Duplication    Length = 3-3 lines in 2 locations

src/Generator/DocBlockGenerator.php 2 locations

@@ 36-38 (lines=3) @@
33
    {
34
        $lines = [];
35
36
        if ($docBlock->shortDescription() !== null) {
37
            $lines[-2][] = $this->textToComment($docBlock->shortDescription());
38
        }
39
40
        if ($docBlock->longDescription() !== null) {
41
            $lines[-1][] = $this->textToComment($docBlock->longDescription());
@@ 40-42 (lines=3) @@
37
            $lines[-2][] = $this->textToComment($docBlock->shortDescription());
38
        }
39
40
        if ($docBlock->longDescription() !== null) {
41
            $lines[-1][] = $this->textToComment($docBlock->longDescription());
42
        }
43
44
        foreach ($this->sortTags($docBlock) as $i => $tags) {
45
            foreach ($tags as $tag) {