From 97290350dc32df16343a7f009c3c46f49fab04e6 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Sun, 17 Jun 2018 09:35:08 -0400 Subject: [PATCH] Remove unnecessary key var --- src/command_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command_functions.php b/src/command_functions.php index a69293249..03080f616 100644 --- a/src/command_functions.php +++ b/src/command_functions.php @@ -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);