| 1 | <?php |
||
| 10 | class Issue |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var AnalysisException |
||
| 15 | */ |
||
| 16 | protected $exception; |
||
| 17 | |||
| 18 | protected $message; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param AnalysisException $exception |
||
| 22 | * @param $message |
||
| 23 | */ |
||
| 24 | public function __construct(AnalysisException $exception, $message) |
||
| 29 | |||
| 30 | public function getMessage() |
||
| 34 | |||
| 35 | public function getStartLine() |
||
| 39 | |||
| 40 | public function getNode() |
||
| 44 | |||
| 45 | public function getEndLine() |
||
| 49 | } |
||
| 50 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.