original_string: public function disableFilterButton(bool $disable = true)
      {
          $this->tools = $this->tools->map(function ($tool) use ($disable) {
              if ($tool instanceof FilterButton) {
                  return $tool->disable($disable);
              }
  
              return $tool;
          });
      }
code: public function disableFilterButton(bool $disable = true)
      {
          $this->tools = $this->tools->map(function ($tool) use ($disable) {
              if ($tool instanceof FilterButton) {
                  return $tool->disable($disable);
              }
  
              return $tool;
          });
      }
code_tokens: public function disableFilterButton ( bool $ disable = true ) { $ this -> tools = $ this -> tools -> map ( function ( $ tool ) use ( $ disable ) { if ( $ tool instanceof FilterButton ) { return $ tool -> disable ( $ disable ) ; } return $ tool ; } ) ; }
docstring: Disable filter button.
  
  @return void
docstring_tokens: Disable filter button .