Skip to content

Commit 533de86

Browse files
committed
missing file
1 parent 6140b57 commit 533de86

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/Ast/Comment.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php declare(strict_types = 1);
2+
3+
namespace PHPStan\PhpDocParser\Ast;
4+
5+
class Comment
6+
{
7+
/**
8+
* @var string
9+
*/
10+
protected $text;
11+
12+
/** @var int */
13+
protected $startLine;
14+
15+
/** @var int */
16+
protected $startIndex;
17+
18+
public function __construct(string $text, int $startLine = -1, int $startIndex = -1) {
19+
$this->text = $text;
20+
$this->startLine = $startLine;
21+
$this->startIndex = $startIndex;
22+
}
23+
24+
}

0 commit comments

Comments
 (0)