Completed
Push — master ( a6a498...20717b )
by
unknown
13s
created
src/Forms/PresentedOptionsField.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,8 @@
 block discarded – undo
78 78
     public static function getSelectTypes()
79 79
     {
80 80
         return [
81
-            ['value' => self::SELECT_TYPE_ALL, 'title' => _t(__CLASS__ . '.SELECT_ALL', 'Select from all options')],
82
-            ['value' => self::SELECT_TYPE_CUSTOM, 'title' => _t(__CLASS__ . '.SELECT_CUSTOM', 'Manually add options')],
81
+            ['value' => self::SELECT_TYPE_ALL, 'title' => _t(__CLASS__.'.SELECT_ALL', 'Select from all options')],
82
+            ['value' => self::SELECT_TYPE_CUSTOM, 'title' => _t(__CLASS__.'.SELECT_CUSTOM', 'Manually add options')],
83 83
         ];
84 84
     }
85 85
 
Please login to merge, or discard this patch.
src/Model/ResourceFilter/Dropdown.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@
 block discarded – undo
25 25
 
26 26
     public function getCMSFields()
27 27
     {
28
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
28
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
29 29
             $fields->addFieldToTab('Root.Main', PresentedOptionsField::create(
30 30
                 'Options',
31 31
                 $this->FilterFor,
32
-                _t(__CLASS__ . '.OPTIONS', 'Presented options')
32
+                _t(__CLASS__.'.OPTIONS', 'Presented options')
33 33
             ));
34 34
         });
35 35
 
Please login to merge, or discard this patch.
src/Model/ResourceFilter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
     public function getCMSFields()
62 62
     {
63
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
63
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
64 64
             $allColumnsField = $fields->dataFieldByName('AllColumns');
65 65
             $allColumnsField->addExtraClass('ckan-columns__all-columns');
66 66
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
             $columnSources = CompositeField::create($allColumnsField, $filterFields);
79 79
             $columnSources
80
-                ->setTitle(_t(__CLASS__ . '.COLUMNS_SOURCES', 'Columns source(s)'))
80
+                ->setTitle(_t(__CLASS__.'.COLUMNS_SOURCES', 'Columns source(s)'))
81 81
                 ->addExtraClass('ckan-columns__sources');
82 82
             $fields->addFieldToTab('Root.Main', $columnSources);
83 83
 
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
             return DBField::create_Field(
133 133
                 'HTMLFragment',
134 134
                 '<span class="ckan-columns--all-columns">'
135
-                . _t(__CLASS__ . '.ALL_COLUMNS', 'All columns')
135
+                . _t(__CLASS__.'.ALL_COLUMNS', 'All columns')
136 136
                 . '</span>'
137 137
             );
138 138
         }
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
         return DBField::create_Field(
149 149
             'HTMLFragment',
150 150
             '<span class="ckan-columns--multiple">'
151
-            . _t(__CLASS__ . '.MULTIPLE_COLUMNS', 'Multiple columns')
151
+            . _t(__CLASS__.'.MULTIPLE_COLUMNS', 'Multiple columns')
152 152
             . '</span>'
153 153
         );
154 154
     }
Please login to merge, or discard this patch.