Skip to content

Commit 9fd2d48

Browse files
Add missing type annotations
1 parent d409693 commit 9fd2d48

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Chunk.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class Chunk
3333
private $endRange;
3434

3535
/**
36-
* @var array
36+
* @var Line[]
3737
*/
3838
private $lines;
3939

@@ -66,11 +66,17 @@ public function getEndRange(): int
6666
return $this->endRange;
6767
}
6868

69+
/**
70+
* @return Line[]
71+
*/
6972
public function getLines(): array
7073
{
7174
return $this->lines;
7275
}
7376

77+
/**
78+
* @param Line[] $lines
79+
*/
7480
public function setLines(array $lines): void
7581
{
7682
$this->lines = $lines;

0 commit comments

Comments
 (0)