Test Setup Failed
Branch master (3d068e)
by Park Jong-Hun
03:19
created
Category
app/ViewEngine/Twig.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
     private function addCssFunction()
77 77
     {
78
-        $function = new Twig_SimpleFunction('css', function ($url) {
78
+        $function = new Twig_SimpleFunction('css', function($url) {
79 79
             return sprintf('<link rel="stylesheet" type="text/css" href="%s">', $url);
80 80
         }, ['is_safe' => ['html']]);
81 81
 
@@ -84,14 +84,14 @@  discard block
 block discarded – undo
84 84
 
85 85
     private function addAssetFunction()
86 86
     {
87
-        $this->twig->addFunction(new Twig_SimpleFunction('asset', function ($file) {
87
+        $this->twig->addFunction(new Twig_SimpleFunction('asset', function($file) {
88 88
             return Application::getInstance()->url($this->PUBLIC_PATH . $file);
89 89
         }));
90 90
     }
91 91
 
92 92
     private function addUrlFunction()
93 93
     {
94
-        $this->twig->addFunction(new Twig_SimpleFunction('url', function ($url = '') {
94
+        $this->twig->addFunction(new Twig_SimpleFunction('url', function($url = '') {
95 95
             return Application::getInstance()->url($url);
96 96
         }));
97 97
     }
Please login to merge, or discard this patch.