Skip to content

Commit 3a86a77

Browse files
committed
Using output instead of echo
1 parent 840cb2b commit 3a86a77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MageDownload/Command/AbstractCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,6 @@ protected function outputFormatJson($messages)
216216
}
217217
}
218218
}
219-
echo json_encode($json);
219+
$this->output->write(json_encode($json), false, OutputInterface::OUTPUT_RAW);
220220
}
221221
}

0 commit comments

Comments
 (0)