Completed
Push — master ( 26f90e...c3c122 )
by Lars
03:13 queued 11s
created
src/voku/twig/MinifyHtmlNode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         ->addDebugInfo($this)
36 36
         ->write("ob_start();\n")
37 37
         ->subcompile($this->getNode('body'))
38
-        ->write('$extension = $this->env->getExtension(\'\\voku\\twig\\MinifyHtmlExtension\');' . "\n")
39
-        ->write('echo $extension->compress($this->env, ob_get_clean());' . "\n");
38
+        ->write('$extension = $this->env->getExtension(\'\\voku\\twig\\MinifyHtmlExtension\');'."\n")
39
+        ->write('echo $extension->compress($this->env, ob_get_clean());'."\n");
40 40
   }
41 41
 }
Please login to merge, or discard this patch.
src/voku/twig/MinifyHtmlExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
       if ($cache === null) {
67 67
         $cache = new Cache(null, null, false);
68 68
       }
69
-      $cacheKey = 'HtmlMin::hash' . md5($html);
69
+      $cacheKey = 'HtmlMin::hash'.md5($html);
70 70
 
71 71
       if (
72 72
         $cache->getCacheIsReady() === true
Please login to merge, or discard this patch.