Skip to content

Commit 32c2b9a

Browse files
committed
Fix test code
1 parent b599640 commit 32c2b9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/dcg/QuestionHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ final class QuestionHelper extends BaseHelper {
1515
/**
1616
* {@inheritdoc}
1717
*/
18-
public function ask(InputInterface $input, OutputInterface $output, Question $question) {
18+
public function ask(InputInterface $input, OutputInterface $output, Question $question): mixed {
1919
$question->setAutocompleterValues(NULL);
2020
$answer = parent::ask($input, $output, $question);
2121
// Write line after each input to make test output more readable.

tests/dcg/TestLogger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ final class TestLogger extends AbstractLogger {
1414
/**
1515
* {@inheritdoc}
1616
*/
17-
public function log($level, $message, array $context = []) {
17+
public function log($level, $message, array $context = []): void {
1818
$this->records[] = [
1919
'level' => $level,
2020
'message' => $message,

0 commit comments

Comments
 (0)