mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Add a couple more unused code locations
This commit is contained in:
parent
0cf8bb435f
commit
8799b856cb
@ -48,8 +48,6 @@ class ArrayFetchChecker
|
||||
PhpParser\Node\Expr\ArrayDimFetch $stmt,
|
||||
Context $context
|
||||
) {
|
||||
$used_key_type = null;
|
||||
|
||||
$array_var_id = ExpressionChecker::getArrayVarId(
|
||||
$stmt->var,
|
||||
$statements_checker->getFQCLN(),
|
||||
|
@ -153,8 +153,6 @@ class CodeLocation
|
||||
|
||||
$preview_offset = 0;
|
||||
|
||||
$i = 0;
|
||||
|
||||
$comment_line_offset = $this->docblock_line_number - $this->docblock_start_line_number;
|
||||
|
||||
for ($i = 0; $i < $comment_line_offset; ++$i) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user