Completed
Push — master ( 641573...d47e41 )
by Daniel
04:32 queued 02:20
created
code/ContentWidget.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -7,38 +7,38 @@
 block discarded – undo
7 7
  */
8 8
 class ContentWidget extends Widget
9 9
 {
10
-    /**
11
-     * @var array
12
-     */
13
-    public static $db = array(
14
-        "HTML" => "HTMLText"
15
-    );
10
+	/**
11
+	 * @var array
12
+	 */
13
+	public static $db = array(
14
+		"HTML" => "HTMLText"
15
+	);
16 16
 
17
-    /**
18
-     * @var string
19
-     */
20
-    private static $title = "HTML Content";
17
+	/**
18
+	 * @var string
19
+	 */
20
+	private static $title = "HTML Content";
21 21
 
22
-    /**
23
-     * @var string
24
-     */
25
-    private static $cmsTitle = "HTML Content";
22
+	/**
23
+	 * @var string
24
+	 */
25
+	private static $cmsTitle = "HTML Content";
26 26
 
27
-    /**
28
-     * @var string
29
-     */
30
-    private static $description = "Custom HTML content widget.";
27
+	/**
28
+	 * @var string
29
+	 */
30
+	private static $description = "Custom HTML content widget.";
31 31
 
32
-    /**
33
-     * @return FieldList
34
-     */
35
-    public function getCMSFields()
36
-    {
37
-        $fields = parent::getCMSFields();
32
+	/**
33
+	 * @return FieldList
34
+	 */
35
+	public function getCMSFields()
36
+	{
37
+		$fields = parent::getCMSFields();
38 38
 
39
-        $fields->push(TextField::create("Title"));
40
-        $fields->push(HtmlEditorField::create("HTML", "Content"));
39
+		$fields->push(TextField::create("Title"));
40
+		$fields->push(HtmlEditorField::create("HTML", "Content"));
41 41
 
42
-        return $fields;
43
-    }
42
+		return $fields;
43
+	}
44 44
 }
Please login to merge, or discard this patch.