Completed
Push — master ( 1375a1...3368bc )
by Nicolas
03:04
created
src/Karma/Hydrator.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -127,6 +127,9 @@  discard block
 block discarded – undo
127 127
         }
128 128
     }
129 129
 
130
+    /**
131
+     * @param string|boolean $fileContent
132
+     */
130 133
     private function parseFileDirectives($file, & $fileContent, $environment)
131 134
     {
132 135
         $this->currentFormatterName = null;
@@ -201,6 +204,9 @@  discard block
 block discarded – undo
201 204
         }
202 205
     }
203 206
 
207
+    /**
208
+     * @param string $delimiter
209
+     */
204 210
     private function generateContentForListDirective($variable, $environment, $delimiter, array $wrapper)
205 211
     {
206 212
         $values = $this->readValueToInject($variable, $environment);
@@ -229,6 +235,9 @@  discard block
 block discarded – undo
229 235
         return preg_replace('~(<%\s*karma:[^%]*%>\s*)~i', '', $fileContent);
230 236
     }
231 237
 
238
+    /**
239
+     * @return string
240
+     */
232 241
     private function injectValues($sourceFile, $content, $environment, $replacementCounter = 0)
233 242
     {
234 243
         $replacementCounter += $this->injectScalarValues($content, $environment);
@@ -353,6 +362,9 @@  discard block
 block discarded – undo
353 362
         return "\n";
354 363
     }
355 364
 
365
+    /**
366
+     * @param string $targetFile
367
+     */
356 368
     private function backupFile($targetFile)
357 369
     {
358 370
         if($this->enableBackup === true)
Please login to merge, or discard this patch.