Passed
Push — master ( fa92f3...703ed4 )
by Mohamed
02:19
created
src/Form/Field.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     public function removeLinkable(): self
134 134
     {
135 135
         // Remove grid field linkable component
136
-        $this->getGridField()->getConfig()->getComponents()->each(function ($component) {
136
+        $this->getGridField()->getConfig()->getComponents()->each(function($component) {
137 137
             if ($component instanceof GridFieldAddExistingAutocompleter) {
138 138
                 $this->getGridField()->getConfig()->removeComponentsByType(GridFieldAddExistingAutocompleter::class);
139 139
             }
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     public function removeAddable(): self
165 165
     {
166 166
         // Remove grid field addable component
167
-        $this->getGridField()->getConfig()->getComponents()->each(function ($component) {
167
+        $this->getGridField()->getConfig()->getComponents()->each(function($component) {
168 168
             if ($component instanceof GridFieldAddNewButton) {
169 169
                 $this->getGridField()->getConfig()->removeComponentsByType(GridFieldAddNewButton::class);
170 170
             }
Please login to merge, or discard this patch.
src/Extension/GridFieldItemRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
         // Find item in breadcrumb for data object that is not yet saved that has link
25 25
         // with value of false
26
-        $find = $items->filterByCallback(function ($item) use ($name) {
26
+        $find = $items->filterByCallback(function($item) use ($name) {
27 27
             return !$item->Link && $item->Title === $name;
28 28
         })->first();
29 29
 
Please login to merge, or discard this patch.