original_string: protected function prepareProductsCompare(array &$products)
      {
          foreach ($products as $product_id => &$product) {
              $product['field'] = $this->product_field->getList($product_id);
              $this->setItemProductFields($product, $this->image, $this->product_class);
          }
      }
code: protected function prepareProductsCompare(array &$products)
      {
          foreach ($products as $product_id => &$product) {
              $product['field'] = $this->product_field->getList($product_id);
              $this->setItemProductFields($product, $this->image, $this->product_class);
          }
      }
code_tokens: protected function prepareProductsCompare ( array & $ products ) { foreach ( $ products as $ product_id => & $ product ) { $ product [ 'field' ] = $ this -> product_field -> getList ( $ product_id ) ; $ this -> setItemProductFields ( $ product , $ this -> image , $ this -> product_class ) ; } }
docstring: Prepare an array of products to be compared
  @param array $products
docstring_tokens: Prepare an array of products to be compared