@@ 60-62 (lines=3) @@ | ||
57 | throw new \RuntimeException(sprintf('Invalid config file specified or invalid return type in file %s', $configFile)); |
|
58 | } |
|
59 | } else { |
|
60 | if ($input->hasArgument('openapi-file') && null !== $input->getArgument('openapi-file')) { |
|
61 | $options['openapi-file'] = $input->getArgument('openapi-file'); |
|
62 | } |
|
63 | ||
64 | if ($input->hasArgument('namespace') && null !== $input->getArgument('namespace')) { |
|
65 | $options['namespace'] = $input->getArgument('namespace'); |
|
@@ 64-66 (lines=3) @@ | ||
61 | $options['openapi-file'] = $input->getArgument('openapi-file'); |
|
62 | } |
|
63 | ||
64 | if ($input->hasArgument('namespace') && null !== $input->getArgument('namespace')) { |
|
65 | $options['namespace'] = $input->getArgument('namespace'); |
|
66 | } |
|
67 | ||
68 | if ($input->hasArgument('directory') && null !== $input->getArgument('directory')) { |
|
69 | $options['directory'] = $input->getArgument('directory'); |
|
@@ 68-70 (lines=3) @@ | ||
65 | $options['namespace'] = $input->getArgument('namespace'); |
|
66 | } |
|
67 | ||
68 | if ($input->hasArgument('directory') && null !== $input->getArgument('directory')) { |
|
69 | $options['directory'] = $input->getArgument('directory'); |
|
70 | } |
|
71 | ||
72 | if ($input->hasOption('date-format') && null !== $input->getOption('date-format')) { |
|
73 | $options['date-format'] = $input->getOption('date-format'); |