original_string: protected function prepareListUser(array &$list)
      {
          $stores = $this->store->getList();
  
          foreach ($list as &$item) {
  
              $item['url'] = '';
  
              if (isset($stores[$item['store_id']])) {
                  $item['url'] = $this->store->getUrl($stores[$item['store_id']]) . "/account/{$item['user_id']}";
              }
          }
      }
code: protected function prepareListUser(array &$list)
      {
          $stores = $this->store->getList();
  
          foreach ($list as &$item) {
  
              $item['url'] = '';
  
              if (isset($stores[$item['store_id']])) {
                  $item['url'] = $this->store->getUrl($stores[$item['store_id']]) . "/account/{$item['user_id']}";
              }
          }
      }
code_tokens: protected function prepareListUser ( array & $ list ) { $ stores = $ this -> store -> getList ( ) ; foreach ( $ list as & $ item ) { $ item [ 'url' ] = '' ; if ( isset ( $ stores [ $ item [ 'store_id' ] ] ) ) { $ item [ 'url' ] = $ this -> store -> getUrl ( $ stores [ $ item [ 'store_id' ] ] ) . "/account/{$item['user_id']}" ; } } }
docstring: Prepare an array of users
  @param array $list
docstring_tokens: Prepare an array of users