mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Narrow down the error location even further
This commit is contained in:
parent
83a6f914a7
commit
23f41b4543
@ -756,9 +756,9 @@ abstract class ClassLikeChecker extends SourceChecker implements StatementsSourc
|
||||
'__construct',
|
||||
$fake_constructor_stmt_args,
|
||||
[
|
||||
'line' => $this->class->getLine(),
|
||||
'startFilePos' => $this->class->getAttribute('startFilePos'),
|
||||
'endFilePos' => $this->class->getAttribute('endFilePos'),
|
||||
'line' => $this->class->extends->getLine(),
|
||||
'startFilePos' => $this->class->extends->getAttribute('startFilePos'),
|
||||
'endFilePos' => $this->class->extends->getAttribute('endFilePos'),
|
||||
]
|
||||
),
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user