original_string: public function add_tab(admin_settingpage $tab) {
          foreach ($tab->settings as $setting) {
              $this->settings->{$setting->name} = $setting;
          }
          $this->tabs[] = $tab;
          return true;
      }
code: public function add_tab(admin_settingpage $tab) {
          foreach ($tab->settings as $setting) {
              $this->settings->{$setting->name} = $setting;
          }
          $this->tabs[] = $tab;
          return true;
      }
code_tokens: public function add_tab ( admin_settingpage $ tab ) { foreach ( $ tab -> settings as $ setting ) { $ this -> settings -> { $ setting -> name } = $ setting ; } $ this -> tabs [ ] = $ tab ; return true ; }
docstring: Add a tab.
  
  @param admin_settingpage $tab A tab.
docstring_tokens: Add a tab .