Completed
Push — master ( fadb5d...f3efb9 )
by
unknown
12s queued 10s
created
src/Forms/GridFieldSiteTreeEditButton.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -16,22 +16,22 @@
 block discarded – undo
16 16
  **/
17 17
 class GridFieldSiteTreeEditButton extends GridFieldEditButton
18 18
 {
19
-    /**
20
-     * @param  GridField $gridField
21
-     * @param  DataObject $record
22
-     * @param  string $columnName
23
-     * @return string - the HTML for the column
24
-     */
25
-    public function getColumnContent($gridField, $record, $columnName)
26
-    {
27
-        // No permission checks - handled through GridFieldDetailForm
28
-        // which can make the form readonly if no edit permissions are available.
19
+	/**
20
+	 * @param  GridField $gridField
21
+	 * @param  DataObject $record
22
+	 * @param  string $columnName
23
+	 * @return string - the HTML for the column
24
+	 */
25
+	public function getColumnContent($gridField, $record, $columnName)
26
+	{
27
+		// No permission checks - handled through GridFieldDetailForm
28
+		// which can make the form readonly if no edit permissions are available.
29 29
 
30
-        $data = ArrayData::create([
31
-            'Link' => $record->CMSEditLink(),
32
-            'ExtraClass' => $this->getExtraClass(),
33
-        ]);
30
+		$data = ArrayData::create([
31
+			'Link' => $record->CMSEditLink(),
32
+			'ExtraClass' => $this->getExtraClass(),
33
+		]);
34 34
 
35
-        return $data->renderWith(GridFieldEditButton::class);
36
-    }
35
+		return $data->renderWith(GridFieldEditButton::class);
36
+	}
37 37
 }
Please login to merge, or discard this patch.