mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Remove unnecessary key var
This commit is contained in:
parent
5ddd74e7d2
commit
97290350dc
@ -170,7 +170,7 @@ function getPathsToCheck($f_paths)
|
|||||||
stream_set_blocking(STDIN, $blocked);
|
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] === '-') {
|
if ($path_to_check[0] === '-') {
|
||||||
echo 'Invalid usage, expecting psalm [options] [file...]' . PHP_EOL;
|
echo 'Invalid usage, expecting psalm [options] [file...]' . PHP_EOL;
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user