1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Remove redundant clause

This commit is contained in:
Matthew Brown 2018-11-20 22:24:53 -05:00
parent 740aa895e9
commit f35a550774

View File

@ -147,7 +147,7 @@ class StatementsProvider
$file_changes
);
if ($existing_file_contents && $existing_statements && $existing_statements[0] instanceof PhpParser\Node\Stmt) {
if ($existing_file_contents && $existing_statements) {
list($unchanged_members, $unchanged_signature_members, $changed_members, $diff_map)
= \Psalm\Internal\Diff\FileStatementsDiffer::diff(
$existing_statements,