Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
75 | 1 | public function getValues(OutputInterface $output, DialogHelper $dialog) |
|
76 | { |
||
77 | 1 | $default = $this->getDefault(); |
|
78 | |||
79 | 1 | $value = $dialog->ask( |
|
80 | 1 | $output, |
|
81 | 1 | "<info>Description</info> ({$default}): ", |
|
82 | $default |
||
83 | 1 | ); |
|
84 | |||
85 | return [ |
||
86 | 1 | 'description' => $value, |
|
87 | 1 | ]; |
|
88 | } |
||
89 | } |
||
91 |