@@ -85,7 +85,7 @@ discard block  | 
                                                    ||
| 85 | 85 | */  | 
                                                        
| 86 | 86 | public function disableFilterButton(bool $disable = true)  | 
                                                        
| 87 | 87 |      { | 
                                                        
| 88 | -        $this->tools = $this->tools->map(function ($tool) use ($disable) { | 
                                                        |
| 88 | +        $this->tools = $this->tools->map(function($tool) use ($disable) { | 
                                                        |
| 89 | 89 |              if ($tool instanceof FilterButton) { | 
                                                        
| 90 | 90 | return $tool->disable($disable);  | 
                                                        
| 91 | 91 | }  | 
                                                        
@@ -101,7 +101,7 @@ discard block  | 
                                                    ||
| 101 | 101 | */  | 
                                                        
| 102 | 102 | public function disableRefreshButton(bool $disable = true)  | 
                                                        
| 103 | 103 |      { | 
                                                        
| 104 | -        $this->tools = $this->tools->map(function (AbstractTool $tool) use ($disable) { | 
                                                        |
| 104 | +        $this->tools = $this->tools->map(function(AbstractTool $tool) use ($disable) { | 
                                                        |
| 105 | 105 |              if ($tool instanceof RefreshButton) { | 
                                                        
| 106 | 106 | return $tool->disable($disable);  | 
                                                        
| 107 | 107 | }  | 
                                                        
@@ -117,7 +117,7 @@ discard block  | 
                                                    ||
| 117 | 117 | */  | 
                                                        
| 118 | 118 | public function disableBatchActions(bool $disable = true)  | 
                                                        
| 119 | 119 |      { | 
                                                        
| 120 | -        $this->tools = $this->tools->map(function ($tool) use ($disable) { | 
                                                        |
| 120 | +        $this->tools = $this->tools->map(function($tool) use ($disable) { | 
                                                        |
| 121 | 121 |              if ($tool instanceof BatchActions) { | 
                                                        
| 122 | 122 | return $tool->disable($disable);  | 
                                                        
| 123 | 123 | }  | 
                                                        
@@ -131,7 +131,7 @@ discard block  | 
                                                    ||
| 131 | 131 | */  | 
                                                        
| 132 | 132 | public function batch(\Closure $closure)  | 
                                                        
| 133 | 133 |      { | 
                                                        
| 134 | -        call_user_func($closure, $this->tools->first(function ($tool) { | 
                                                        |
| 134 | +        call_user_func($closure, $this->tools->first(function($tool) { | 
                                                        |
| 135 | 135 | return $tool instanceof BatchActions;  | 
                                                        
| 136 | 136 | }));  | 
                                                        
| 137 | 137 | }  | 
                                                        
@@ -143,7 +143,7 @@ discard block  | 
                                                    ||
| 143 | 143 | */  | 
                                                        
| 144 | 144 | public function render()  | 
                                                        
| 145 | 145 |      { | 
                                                        
| 146 | -        return $this->tools->map(function ($tool) { | 
                                                        |
| 146 | +        return $this->tools->map(function($tool) { | 
                                                        |
| 147 | 147 |              if ($tool instanceof AbstractTool) { | 
                                                        
| 148 | 148 |                  if (!$tool->allowed()) { | 
                                                        
| 149 | 149 | return '';  |