original_string: protected function add_filter($key, $value, $allowmultiple = false) {
          if ($allowmultiple || empty($this->get_filter_values($key))) {
              $this->filtersapplied[] = [$key, $value];
          }
      }
code: protected function add_filter($key, $value, $allowmultiple = false) {
          if ($allowmultiple || empty($this->get_filter_values($key))) {
              $this->filtersapplied[] = [$key, $value];
          }
      }
code_tokens: protected function add_filter ( $ key , $ value , $ allowmultiple = false ) { if ( $ allowmultiple || empty ( $ this -> get_filter_values ( $ key ) ) ) { $ this -> filtersapplied [ ] = [ $ key , $ value ] ; } }
docstring: Adds an applied filter
  
  @param mixed $key
  @param mixed $value
  @param bool $allowmultiple
docstring_tokens: Adds an applied filter