Passed
Pull Request — master (#51)
by Robbie
03:18
created
src/Model/ResourceFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,10 +42,10 @@
 block discarded – undo
42 42
 
43 43
     public function getCMSFields()
44 44
     {
45
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
45
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
46 46
             $fields->push(ListboxField::create(
47 47
                 'FilterFields',
48
-                _t(__CLASS__ . '.ColumnsToSearch', 'Columns to search'),
48
+                _t(__CLASS__.'.ColumnsToSearch', 'Columns to search'),
49 49
                 $this->FilterFor()->Fields()->map('ID', 'ReadableName')
50 50
             ));
51 51
 
Please login to merge, or discard this patch.
src/Model/ResourceDropdownFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,10 +17,10 @@
 block discarded – undo
17 17
 
18 18
     public function getCMSFields()
19 19
     {
20
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
20
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
21 21
             $fields->push(TextField::create(
22 22
                 'Options',
23
-                _t(__CLASS__ . '.Options', 'Dropdown options')
23
+                _t(__CLASS__.'.Options', 'Dropdown options')
24 24
             ));
25 25
 
26 26
             $fields->removeByName('FilterForID');
Please login to merge, or discard this patch.