original_string: public function find($id) {
          if ((string)$this->id === (string)$id) {
              return $this;
          }
          foreach ($this->subtree as $tab) {
              if ($obj = $tab->find($id)) {
                  return $obj;
              }
          }
          return null;
      }
code: public function find($id) {
          if ((string)$this->id === (string)$id) {
              return $this;
          }
          foreach ($this->subtree as $tab) {
              if ($obj = $tab->find($id)) {
                  return $obj;
              }
          }
          return null;
      }
code_tokens: public function find ( $ id ) { if ( ( string ) $ this -> id === ( string ) $ id ) { return $ this ; } foreach ( $ this -> subtree as $ tab ) { if ( $ obj = $ tab -> find ( $ id ) ) { return $ obj ; } } return null ; }
docstring: Travels through tree and finds a tab with specified id
  
  @param string $id
  @return tabtree|null
docstring_tokens: Travels through tree and finds a tab with specified id