Completed
Pull Request — master (#5)
by
unknown
02:59
created
src/LesserPhp/Compiler/Value/StringValue.php 2 patches
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -17,29 +17,29 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.