original_string: public function set_areas(array $areas) {
          foreach ($areas as $area) {
              if ($area instanceof base && !key_exists($area->get_area_id(), $this->areas)) {
                  $this->areas[$area->get_area_id()] = $area;
              }
          }
      }
code: public function set_areas(array $areas) {
          foreach ($areas as $area) {
              if ($area instanceof base && !key_exists($area->get_area_id(), $this->areas)) {
                  $this->areas[$area->get_area_id()] = $area;
              }
          }
      }
code_tokens: public function set_areas ( array $ areas ) { foreach ( $ areas as $ area ) { if ( $ area instanceof base && ! key_exists ( $ area -> get_area_id ( ) , $ this -> areas ) ) { $ this -> areas [ $ area -> get_area_id ( ) ] = $ area ; } } }
docstring: Set list of search areas for this category,
  
  @param \core_search\base[] $areas
docstring_tokens: Set list of search areas for this category