Test Failed
Push — master ( aa532b...10a4a4 )
by Guillaume
02:37
created
src/CEM/Behat/Context/MailContext.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
     /**
60 60
      * @Then the :messageId mail should have been sent
61
+     * @param string $messageId
61 62
      */
62 63
     public function mailShouldHaveBeenSent($messageId)
63 64
     {
@@ -168,10 +169,17 @@  discard block
 block discarded – undo
168 169
         return $this->kernel->getContainer()->getParameter('swiftmailer.spool.default.file.path');
169 170
     }
170 171
 
172
+    /**
173
+     * @param string $content
174
+     */
171 175
     private function replaceParams($content)
172 176
     {
173 177
         echo $contentUpdated = preg_replace_callback(
174 178
             '/{{(.+)}}/',
179
+
180
+            /**
181
+             * @param string $matches
182
+             */
175 183
             function ($matches) {
176 184
                 return $this->kernel->getContainer()->getParameter($matches[1]);
177 185
             },
Please login to merge, or discard this patch.