Skip to content

Commit b4711a5

Browse files
authored
Change option parser integers to strings
1 parent 28bd894 commit b4711a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Command/BenchmarkCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ protected function buildOptionParser(ConsoleOptionParser $parser): ConsoleOption
169169
'required' => true,
170170
])
171171
->addOption('n', [
172-
'default' => 10,
172+
'default' => '10',
173173
'help' => 'Number of iterations to perform.',
174174
])
175175
->addOption('t', [
176-
'default' => 100,
176+
'default' => '100',
177177
'help' =>
178178
'Maximum total time for all iterations, in seconds. ' .
179179
'If a single iteration takes more than the timeout, only one request will be made',

0 commit comments

Comments
 (0)