Completed
Branch master (24ff9d)
by Lars
03:47
created
src/voku/twig/AntiXssExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
   /** @noinspection PhpMissingParentCallCommonInspection */
52 52
   /**
53
-   * @return array
53
+   * @return \Twig_SimpleFilter[]
54 54
    */
55 55
   public function getFilters()
56 56
   {
Please login to merge, or discard this patch.
src/voku/twig/AntiXssNode.php 1 patch
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.