Passed
Pull Request — master (#136)
by Robbie
02:51
created
src/Model/Resource.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     public function onAfterWrite()
44 44
     {
45 45
         if ($this->isChanged('Identifier')) {
46
-            $this->Fields()->each(function (ResourceField $field) {
46
+            $this->Fields()->each(function(ResourceField $field) {
47 47
                 $field->delete();
48 48
             });
49 49
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
             // Remove the existing filters and add a default text entry to search all ResourceFields
55 55
             $this->Filters()
56
-                ->each(function (ResourceFilter $filter) {
56
+                ->each(function(ResourceFilter $filter) {
57 57
                     $filter->delete();
58 58
                 })
59 59
                 ->add(ResourceFilter::create());
Please login to merge, or discard this patch.
src/Forms/GridField/GridFieldDetailForm/ResourceFieldItemRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         }
54 54
 
55 55
         $update = SQLUpdate::create(
56
-            '"' . $record->baseTable() . '"',
56
+            '"'.$record->baseTable().'"',
57 57
             [],
58 58
             $where + ['"ID" != ?' => $record->ID, '"ResourceID"' => $resource->ID]
59 59
         );
Please login to merge, or discard this patch.
src/Page/CKANRegistryPageController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,6 +61,6 @@
 block discarded – undo
61 61
         }
62 62
 
63 63
         $link = $holder->RelativeLink();
64
-        return '/' . trim($link, '/');
64
+        return '/'.trim($link, '/');
65 65
     }
66 66
 }
Please login to merge, or discard this patch.