Skip to content

Commit c00b425

Browse files
committed
chore: inline input options
1 parent 271f393 commit c00b425

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

src/Commands/MakeSpecificationCommand.php

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -61,24 +61,20 @@ protected function buildClass(mixed $name): string
6161
*/
6262
protected function getOptions(): array
6363
{
64-
$composite = new InputOption(
65-
'composite',
66-
null,
67-
InputOption::VALUE_NONE,
68-
'Indicates the specification should be composite',
69-
);
70-
71-
$candidate = new InputOption(
72-
'candidate',
73-
'c',
74-
InputOption::VALUE_OPTIONAL,
75-
'Specify the candidate type to use',
76-
'mixed',
77-
);
78-
7964
return [
80-
$composite,
81-
$candidate,
65+
new InputOption(
66+
'composite',
67+
null,
68+
InputOption::VALUE_NONE,
69+
'Indicates the specification should be composite',
70+
),
71+
new InputOption(
72+
'candidate',
73+
'c',
74+
InputOption::VALUE_OPTIONAL,
75+
'Specify the candidate type to use',
76+
'mixed',
77+
),
8278
];
8379
}
8480

0 commit comments

Comments
 (0)