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:
parent
740aa895e9
commit
f35a550774
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user