@@ 52-54 (lines=3) @@ | ||
49 | throw new \RuntimeException(sprintf('Invalid config file specified or invalid return type in file %s', $configFile)); |
|
50 | } |
|
51 | } else { |
|
52 | if ($input->hasArgument('openapi-file') && null !== $input->getArgument('openapi-file')) { |
|
53 | $options['openapi-file'] = $input->getArgument('openapi-file'); |
|
54 | } |
|
55 | ||
56 | if ($input->hasArgument('namespace') && null !== $input->getArgument('namespace')) { |
|
57 | $options['namespace'] = $input->getArgument('namespace'); |
|
@@ 56-58 (lines=3) @@ | ||
53 | $options['openapi-file'] = $input->getArgument('openapi-file'); |
|
54 | } |
|
55 | ||
56 | if ($input->hasArgument('namespace') && null !== $input->getArgument('namespace')) { |
|
57 | $options['namespace'] = $input->getArgument('namespace'); |
|
58 | } |
|
59 | ||
60 | if ($input->hasArgument('directory') && null !== $input->getArgument('directory')) { |
|
61 | $options['directory'] = $input->getArgument('directory'); |
|
@@ 60-62 (lines=3) @@ | ||
57 | $options['namespace'] = $input->getArgument('namespace'); |
|
58 | } |
|
59 | ||
60 | if ($input->hasArgument('directory') && null !== $input->getArgument('directory')) { |
|
61 | $options['directory'] = $input->getArgument('directory'); |
|
62 | } |
|
63 | ||
64 | if ($input->hasOption('date-format') && null !== $input->getOption('date-format')) { |
|
65 | $options['date-format'] = $input->getOption('date-format'); |