Completed
Push — master ( 82989a...d88389 )
by
unknown
14s queued 10s
created
src/Model/Resource.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     public function onAfterWrite()
49 49
     {
50 50
         if ($this->Identifier && $this->isChanged('Identifier')) {
51
-            $this->Fields()->each(function (ResourceField $field) {
51
+            $this->Fields()->each(function(ResourceField $field) {
52 52
                 $field->delete();
53 53
             });
54 54
 
@@ -58,11 +58,11 @@  discard block
 block discarded – undo
58 58
 
59 59
             // Remove the existing filters and add a default text entry to search all ResourceFields
60 60
             $this->Filters()
61
-                ->each(function (ResourceFilter $filter) {
61
+                ->each(function(ResourceFilter $filter) {
62 62
                     $filter->delete();
63 63
                 })
64 64
                 ->add(ResourceFilter::create([
65
-                    'FilterLabel' => _t(self::class . '.DEFAULT_FILTER_LABEL', 'Search'),
65
+                    'FilterLabel' => _t(self::class.'.DEFAULT_FILTER_LABEL', 'Search'),
66 66
                 ]));
67 67
         }
68 68
 
Please login to merge, or discard this patch.