Completed
Push — master ( 6fba0f...f5a4f7 )
by Richard
02:14
created
src/Config.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,9 +67,9 @@
 block discarded – undo
67 67
 		$this->properties[$name] = $property;
68 68
 	}
69 69
 
70
-    public function registerContentPseudo($name, Property\ContentPseudo $pseudo) {
71
-        if (isset($this->properties['content'])) $this->properties['content']->addContentPseudo($name, $pseudo);
72
-    }
70
+	public function registerContentPseudo($name, Property\ContentPseudo $pseudo) {
71
+		if (isset($this->properties['content'])) $this->properties['content']->addContentPseudo($name, $pseudo);
72
+	}
73 73
 
74 74
 	public function registerPseudo(Pseudo $pseudo) {
75 75
 		$this->pseudo[] = $pseudo;
Please login to merge, or discard this patch.
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,9 @@  discard block
 block discarded – undo
68 68
 	}
69 69
 
70 70
     public function registerContentPseudo($name, Property\ContentPseudo $pseudo) {
71
-        if (isset($this->properties['content'])) $this->properties['content']->addContentPseudo($name, $pseudo);
71
+        if (isset($this->properties['content'])) {
72
+        	$this->properties['content']->addContentPseudo($name, $pseudo);
73
+        }
72 74
     }
73 75
 
74 76
 	public function registerPseudo(Pseudo $pseudo) {
@@ -76,12 +78,16 @@  discard block
 block discarded – undo
76 78
 	}
77 79
 
78 80
 	public function loadProperties(Hook\PropertyHook $hook) {
79
-		foreach ($this->properties as $name => $property) $hook->registerProperty($name, $property);
81
+		foreach ($this->properties as $name => $property) {
82
+			$hook->registerProperty($name, $property);
83
+		}
80 84
 	}
81 85
 
82 86
 	public function createPseudoMatcher($pseudo) {
83 87
 		$pseudoMatcher = new Hook\PseudoMatcher($pseudo, $this->valueParser);
84
-		foreach ($this->pseudo as $pseudoFunction) $pseudoMatcher->registerFunction(clone $pseudoFunction);
88
+		foreach ($this->pseudo as $pseudoFunction) {
89
+			$pseudoMatcher->registerFunction(clone $pseudoFunction);
90
+		}
85 91
 		return $pseudoMatcher;
86 92
 	}
87 93
 
Please login to merge, or discard this patch.