Completed
Push — master ( dfec3c...a56ece )
by Luis
02:35
created
widget/OL.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,8 +82,8 @@
 block discarded – undo
82 82
 		return "new ol.$this->class($properties)";
83 83
 	}
84 84
 
85
-    public function __toString() {
86
-        return $this->expression;
87
-    }
85
+	public function __toString() {
86
+		return $this->expression;
87
+	}
88 88
 	
89 89
 }
90 90
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,10 +75,11 @@
 block discarded – undo
75 75
 	 */
76 76
 	protected function generateExpression()
77 77
 	{
78
-		if (isset($this->properties))
79
-			$properties = Json::encode($this->properties);
80
-		else
81
-			$properties = '';
78
+		if (isset($this->properties)) {
79
+					$properties = Json::encode($this->properties);
80
+		} else {
81
+					$properties = '';
82
+		}
82 83
 		return "new ol.$this->class($properties)";
83 84
 	}
84 85
 
Please login to merge, or discard this patch.