Completed
Push — master ( 2f0b29...ba097a )
by Stéphane
23:52 queued 19:52
created
libs/Format/HTML/Template.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -77,13 +77,13 @@  discard block
 block discarded – undo
77 77
 
78 78
     protected function registerFunctions($engine)
79 79
     {
80
-        $engine->registerFunction('get_navigation', function ($tree, $path, $current_url, $base_page, $mode) {
80
+        $engine->registerFunction('get_navigation', function($tree, $path, $current_url, $base_page, $mode) {
81 81
             $nav = $this->buildNavigation($tree, $path, $current_url, $base_page, $mode);
82 82
 
83 83
             return $this->renderNavigation($nav);
84 84
         });
85 85
 
86
-        $engine->registerFunction('translate', function ($key) {
86
+        $engine->registerFunction('translate', function($key) {
87 87
             $language = $this->params['language'];
88 88
 
89 89
             if (isset($this->engine->getData('page')['page'])) {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             return "Unknown key $key";
107 107
         });
108 108
 
109
-        $engine->registerFunction('get_breadcrumb_title', function ($page, $base_page) {
109
+        $engine->registerFunction('get_breadcrumb_title', function($page, $base_page) {
110 110
             $title = '';
111 111
             $breadcrumb_trail = $page['breadcrumb_trail'];
112 112
             $separator = $this->getSeparator($page['breadcrumb_separator']);
Please login to merge, or discard this patch.