@@ -75,7 +75,7 @@ |
||
75 | 75 | if (is_callable($this->template)) { |
76 | 76 | return call_user_func($this->template); |
77 | 77 | } |
78 | - $callback = function ($matches) { |
|
78 | + $callback = function($matches) { |
|
79 | 79 | return ArrayHelper::getValue($this->owner, $matches[1]); |
80 | 80 | }; |
81 | 81 | return preg_replace_callback('/\\{([\w\._]+)\\}/', $callback, $this->template); |