Skip to content

Commit 9db975c

Browse files
committed
Fix iterator to array
1 parent 6de6ed0 commit 9db975c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/LintCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
4141
foreach ($this->finder->find($path) as $featureFile) {
4242
$featureDiagnosticsList[] = new FeatureDiagnostics(
4343
$featureFile,
44-
iterator_to_array($this->linter->lint($featureFile->path, $featureFile->contents()))
44+
iterator_to_array($this->linter->lint($featureFile->path, $featureFile->contents()), false)
4545
);
4646
}
4747

0 commit comments

Comments
 (0)