Passed
Pull Request — master (#69)
by
unknown
03:03
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->push(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.