File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
src/PHPSemVerChecker/Console/Command Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 2020
2121class CompareCommand extends Command {
2222 /**
23- * @var Configuration
23+ * @var \PHPSemVerChecker\Configuration\ Configuration
2424 */
2525 protected $ config ;
2626
@@ -42,19 +42,26 @@ protected function configure()
4242 ]);
4343 }
4444
45+ /**
46+ * @param \Symfony\Component\Console\Input\InputInterface $input
47+ * @param \Symfony\Component\Console\Output\OutputInterface $output
48+ */
4549 protected function initialize (InputInterface $ input , OutputInterface $ output )
4650 {
4751 parent ::initialize ($ input , $ output );
4852 $ configPath = $ input ->getOption ('config ' );
4953 $ this ->config = $ configPath ? Configuration::fromFile ($ configPath ) : Configuration::defaults ();
50- $ im = new InputMerger ();
51- $ im ->merge ($ input , $ this ->config );
54+ $ inputMerger = new InputMerger ();
55+ $ inputMerger ->merge ($ input , $ this ->config );
5256
5357 // Set overrides
5458 LevelMapping::setOverrides ($ this ->config ->getLevelMapping ());
5559 }
5660
57-
61+ /**
62+ * @param \Symfony\Component\Console\Input\InputInterface $input
63+ * @param \Symfony\Component\Console\Output\OutputInterface $output
64+ */
5865 protected function execute (InputInterface $ input , OutputInterface $ output )
5966 {
6067 $ startTime = microtime (true );
You can’t perform that action at this time.
0 commit comments