Skip to content

Commit 55745af

Browse files
authored
Merge pull request #1012 from zunnu/5.next
Fix benchmark command option parser error
2 parents 28bd894 + b4711a5 commit 55745af

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)