Passed
Push — develop ( d6d0d2...d144b2 )
by Kevin
02:38
created
lib/Console/Command/DefaultCommand.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@  discard block
 block discarded – undo
49 49
         return $possibleLocations;
50 50
     }
51 51
 
52
+    /**
53
+     * @param string|null $file
54
+     */
52 55
     protected function writeMagiumConfigurationFile($file)
53 56
     {
54 57
         file_put_contents($file, <<<XML
@@ -70,6 +73,9 @@  discard block
 block discarded – undo
70 73
         );
71 74
     }
72 75
 
76
+    /**
77
+     * @param string|null $configPath
78
+     */
73 79
     protected function getContextFileFromConfigPath($configPath)
74 80
     {
75 81
         $basePath = dirname($configPath);
@@ -77,6 +83,9 @@  discard block
 block discarded – undo
77 83
         return $contextPath;
78 84
     }
79 85
 
86
+    /**
87
+     * @param string $contextPath
88
+     */
80 89
     protected function writeContextFileXml($contextPath)
81 90
     {
82 91
         file_put_contents($contextPath, <<<XML
@@ -120,6 +129,9 @@  discard block
 block discarded – undo
120 129
     }
121 130
 
122 131
 
132
+    /**
133
+     * @param string $contextPath
134
+     */
123 135
     protected function askContextFileQuestion(InputInterface $input, OutputInterface $output, $contextPath)
124 136
     {
125 137
         $question = new ConfirmationQuestion(sprintf('The context file %s does not exist next to the magium-configuration.xml file.  Create it? ', $contextPath));
Please login to merge, or discard this patch.
lib/MagiumConfigurationFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
         return $cacheFactory->getCache($element);
69 69
     }
70 70
 
71
+    /**
72
+     * @return Builder
73
+     */
71 74
     public function getBuilder()
72 75
     {
73 76
         if (!$this->builder instanceof Builder) {
Please login to merge, or discard this patch.