Completed
Pull Request — master (#5)
by
unknown
17:58
created
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.
src/voku/twig/MinifyHtmlNode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             ->addDebugInfo($this)
30 30
             ->write("ob_start();\n")
31 31
             ->subcompile($this->getNode('body'))
32
-            ->write('$extension = $this->env->getExtension(\'\\Voku\\Twig\\MinifyHtmlExtension\');' . "\n")
33
-            ->write('echo $extension->compress($this->env, ob_get_clean());' . "\n");
32
+            ->write('$extension = $this->env->getExtension(\'\\Voku\\Twig\\MinifyHtmlExtension\');'."\n")
33
+            ->write('echo $extension->compress($this->env, ob_get_clean());'."\n");
34 34
     }
35 35
 }
Please login to merge, or discard this patch.