Passed
Pull Request — master (#174)
by
unknown
02:07
created
src/Model/Resource.php 1 patch
Spacing   +2 added lines, -2 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,7 +58,7 @@  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());
Please login to merge, or discard this patch.