@@ -19,7 +19,7 @@ |
||
| 19 | 19 | $defaultNamespace = null |
| 20 | 20 | ) { |
| 21 | 21 | $this->translationHelper = $translationHelper; |
| 22 | - $this->defaultNamespace = !is_null($defaultNamespace) ? $defaultNamespace . ':' : ''; |
|
| 22 | + $this->defaultNamespace = !is_null($defaultNamespace) ? $defaultNamespace.':' : ''; |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | public function handle($context, $options) |
@@ -86,6 +86,9 @@ discard block |
||
| 86 | 86 | return new \Twig_Markup($dump, 'UTF-8'); |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | + /** |
|
| 90 | + * @return \Twig\Profiler\Profile |
|
| 91 | + */ |
|
| 89 | 92 | public function getProfile() |
| 90 | 93 | { |
| 91 | 94 | if (null === $this->profile) { |
@@ -95,6 +98,9 @@ discard block |
||
| 95 | 98 | return $this->profile; |
| 96 | 99 | } |
| 97 | 100 | |
| 101 | + /** |
|
| 102 | + * @param string $index |
|
| 103 | + */ |
|
| 98 | 104 | private function getComputedData($index) |
| 99 | 105 | { |
| 100 | 106 | if (null === $this->computed) { |