Skip to content

Commit 85ecbd9

Browse files
jeffersoncechinelJefferson Cechinel
andauthored
English verb conjugation correction (#23)
Co-authored-by: Jefferson Cechinel <jefferson@febacapital.com>
1 parent 8f4b0cd commit 85ecbd9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ final class Hello extends Command
6969

7070
protected function execute(InputInterface $input, OutputInterface $output): int
7171
{
72-
$output->writeln("You says: {$input->getArgument('sentence')}");
72+
$output->writeln("You said: {$input->getArgument('sentence')}");
7373

7474
return ExitCode::OK;
7575
}
@@ -104,10 +104,10 @@ Available commands:
104104

105105
```shell
106106
$ ./yii hello
107-
You says: Hello!
107+
You said: Hello!
108108

109109
$ ./yii hello 'Code something'
110-
You says: Code something
110+
You said: Code something
111111
```
112112

113113
## Testing

src/Command/HelloCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected function configure(): void
3434

3535
protected function execute(InputInterface $input, OutputInterface $output): int
3636
{
37-
$output->writeln("You says: {$input->getArgument('sentence')}");
37+
$output->writeln("You said: {$input->getArgument('sentence')}");
3838

3939
return ExitCode::OK;
4040
}

0 commit comments

Comments
 (0)