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

Remove unnecessary key var

This commit is contained in:
Matthew Brown 2018-06-17 09:35:08 -04:00
parent 5ddd74e7d2
commit 97290350dc

View File

@ -170,7 +170,7 @@ function getPathsToCheck($f_paths)
stream_set_blocking(STDIN, $blocked);
}
foreach ($filtered_input_paths as $i => $path_to_check) {
foreach ($filtered_input_paths as $path_to_check) {
if ($path_to_check[0] === '-') {
echo 'Invalid usage, expecting psalm [options] [file...]' . PHP_EOL;
exit(1);