File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments