@@ -17,29 +17,29 @@ |
||
17 | 17 | |
18 | 18 | class StringValue extends AbstractValue |
19 | 19 | { |
20 | - private $delimiter, $content; |
|
20 | + private $delimiter, $content; |
|
21 | 21 | |
22 | - /** |
|
23 | - * @inheritdoc |
|
24 | - */ |
|
25 | - public function getCompiled() |
|
26 | - { |
|
27 | - $content = $this->content; |
|
28 | - foreach ($content as &$part) { |
|
29 | - if (is_array($part)) { |
|
30 | - $part = $this->compiler->compileValue($part); |
|
31 | - } |
|
32 | - } |
|
22 | + /** |
|
23 | + * @inheritdoc |
|
24 | + */ |
|
25 | + public function getCompiled() |
|
26 | + { |
|
27 | + $content = $this->content; |
|
28 | + foreach ($content as &$part) { |
|
29 | + if (is_array($part)) { |
|
30 | + $part = $this->compiler->compileValue($part); |
|
31 | + } |
|
32 | + } |
|
33 | 33 | |
34 | - return $this->delimiter . implode($content) . $this->delimiter; |
|
35 | - } |
|
34 | + return $this->delimiter . implode($content) . $this->delimiter; |
|
35 | + } |
|
36 | 36 | |
37 | - /** |
|
38 | - * @inheritdoc |
|
39 | - */ |
|
40 | - public function initializeFromOldFormat(array $value) |
|
41 | - { |
|
42 | - $this->delimiter=$value[1]; |
|
43 | - $this->content=$value[2]; |
|
44 | - } |
|
37 | + /** |
|
38 | + * @inheritdoc |
|
39 | + */ |
|
40 | + public function initializeFromOldFormat(array $value) |
|
41 | + { |
|
42 | + $this->delimiter=$value[1]; |
|
43 | + $this->content=$value[2]; |
|
44 | + } |
|
45 | 45 | } |
46 | 46 | \ No newline at end of file |
@@ -39,7 +39,7 @@ |
||
39 | 39 | */ |
40 | 40 | public function initializeFromOldFormat(array $value) |
41 | 41 | { |
42 | - $this->delimiter=$value[1]; |
|
43 | - $this->content=$value[2]; |
|
42 | + $this->delimiter = $value[1]; |
|
43 | + $this->content = $value[2]; |
|
44 | 44 | } |
45 | 45 | } |
46 | 46 | \ No newline at end of file |