1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Add a couple more unused code locations

This commit is contained in:
Matthew Brown 2018-01-28 13:50:41 -05:00
parent 0cf8bb435f
commit 8799b856cb
2 changed files with 0 additions and 4 deletions

View File

@ -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(),

View File

@ -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) {