original_string: public function getListItems()
      {
          $item_arr = [];
          foreach ($this->items as $item)
          {
              $item_arr[$item->id] = $item->title;
          }
          return $item_arr;
      }
code: public function getListItems()
      {
          $item_arr = [];
          foreach ($this->items as $item)
          {
              $item_arr[$item->id] = $item->title;
          }
          return $item_arr;
      }
code_tokens: public function getListItems ( ) { $ item_arr = [ ] ; foreach ( $ this -> items as $ item ) { $ item_arr [ $ item -> id ] = $ item -> title ; } return $ item_arr ; }
docstring: For special widget
docstring_tokens: For special widget