| @@ -133,7 +133,7 @@ discard block | ||
| 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 | ||
| 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 | } | 
| @@ -23,7 +23,7 @@ | ||
| 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 | |