Completed
Pull Request — master (#96)
by Sébastien
06:20
created
src/Karma/Hydrator.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -150,6 +150,9 @@  discard block
 block discarded – undo
150 150
         }
151 151
     }
152 152
 
153
+    /**
154
+     * @param string|boolean $fileContent
155
+     */
153 156
     private function parseFileDirectives($file, & $fileContent, $environment)
154 157
     {
155 158
         $this->currentFormatterName = null;
@@ -224,6 +227,9 @@  discard block
 block discarded – undo
224 227
         }
225 228
     }
226 229
 
230
+    /**
231
+     * @param string $delimiter
232
+     */
227 233
     private function generateContentForListDirective($variable, $environment, $delimiter, array $wrapper)
228 234
     {
229 235
         $values = $this->readValueToInject($variable, $environment);
@@ -252,6 +258,9 @@  discard block
 block discarded – undo
252 258
         return preg_replace('~(<%\s*karma:[^%]*%>\s*)~i', '', $fileContent);
253 259
     }
254 260
 
261
+    /**
262
+     * @return string
263
+     */
255 264
     private function injectValues($sourceFile, $content, $environment, $replacementCounter = 0)
256 265
     {
257 266
         $replacementCounter += $this->injectScalarValues($content, $environment);
Please login to merge, or discard this patch.