Skip to content

Commit

Permalink
Fixing files doubling #42
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Aug 25, 2019
1 parent 3babef6 commit e2e8c7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ protected function orderFiles(array $files): array
$res = [];
foreach ($this->orderedFiles as $file) {
if (isset($keys[$file])) {
$res[] = $file;
$res[$file] = $file;
}
}

return $res;
return array_values($res);
}

/**
Expand Down

0 comments on commit e2e8c7b

Please sign in to comment.