|
@@ -62,13 +62,13 @@ |
|
|
block discarded – undo |
|
62
|
62
|
public function askFieldOptions(\StdClass &$module, \StdClass &$field, InputInterface $input, OutputInterface $output) |
|
63
|
63
|
{ |
|
64
|
64
|
// Minimum value |
|
65
|
|
- $field->data->min = (int) $output->ask('What is the minimum value?'); |
|
|
65
|
+ $field->data->min = (int)$output->ask('What is the minimum value?'); |
|
66
|
66
|
|
|
67
|
67
|
// Maximum value |
|
68
|
|
- $field->data->max = (int) $output->ask('What is the maximum value?'); |
|
|
68
|
+ $field->data->max = (int)$output->ask('What is the maximum value?'); |
|
69
|
69
|
|
|
70
|
70
|
// Increment |
|
71
|
|
- $field->data->step = (int) $output->ask('What is the increment?', 0.01); |
|
|
71
|
+ $field->data->step = (int)$output->ask('What is the increment?', 0.01); |
|
72
|
72
|
|
|
73
|
73
|
// Precision |
|
74
|
74
|
$field->data->precision = $output->ask('What is the precision? (e.g: Type 2 for having 0.01)', 2); |
Please login to merge, or discard this patch.