Completed
Pull Request — master (#2)
by Chris
03:00
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
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
             if ($cache === null) {
69 69
                 $cache = new Cache(null, null, false);
70 70
             }
71
-            $cacheKey = 'HtmlMin::hash' . \md5($html);
71
+            $cacheKey = 'HtmlMin::hash'.\md5($html);
72 72
 
73 73
             if (
74 74
                 $cache->getCacheIsReady() === true
Please login to merge, or discard this patch.