Completed
Pull Request — master (#96)
by Sébastien
03:11
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.
src/Karma/ProfileReader.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -191,8 +191,7 @@
 block discarded – undo
191 191
         if(
192 192
             ! array_key_exists($parameter, $parameterValidators)
193 193
             || ! $parameterValidators[$parameter] instanceof \Closure
194
-        )
195
-        {
194
+        ) {
196 195
             return true;
197 196
         }
198 197
 
Please login to merge, or discard this patch.