Completed
Pull Request — master (#3)
by
unknown
17:58
created
src/voku/twig/AntiXssNode.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         ->addDebugInfo($this)
33 33
         ->write("ob_start();\n")
34 34
         ->subcompile($this->getNode('body'))
35
-        ->write('$extension = $this->env->getExtension(\'\\voku\\twig\\AntiXssExtension\');' . "\n")
36
-        ->write('echo $extension->xss_clean(ob_get_clean());' . "\n");
35
+        ->write('$extension = $this->env->getExtension(\'\\voku\\twig\\AntiXssExtension\');'."\n")
36
+        ->write('echo $extension->xss_clean(ob_get_clean());'."\n");
37 37
   }
38 38
 }
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
    * @param array $nodes
18 18
    * @param array $attributes
19 19
    * @param int   $lineno
20
-   * @param null  $tag
20
+   * @param string  $tag
21 21
    */
22 22
   public function __construct(array $nodes = [], array $attributes = [], $lineno = 0, $tag = null)
23 23
   {
Please login to merge, or discard this patch.