original_string: protected function getReviewsProduct(array $limit)
      {
          $options = array(
              'status' => 1,
              'limit' => $limit,
              'user_status' => 1,
              'sort' => 'created',
              'order' => 'desc',
              'product_id' => $this->data_product['product_id']
          );
  
          $options += $this->query;
          $list = (array) $this->review->getList($options);
          $this->prepareReviewsProduct($list);
          return $list;
      }
code: protected function getReviewsProduct(array $limit)
      {
          $options = array(
              'status' => 1,
              'limit' => $limit,
              'user_status' => 1,
              'sort' => 'created',
              'order' => 'desc',
              'product_id' => $this->data_product['product_id']
          );
  
          $options += $this->query;
          $list = (array) $this->review->getList($options);
          $this->prepareReviewsProduct($list);
          return $list;
      }
code_tokens: protected function getReviewsProduct ( array $ limit ) { $ options = array ( 'status' => 1 , 'limit' => $ limit , 'user_status' => 1 , 'sort' => 'created' , 'order' => 'desc' , 'product_id' => $ this -> data_product [ 'product_id' ] ) ; $ options += $ this -> query ; $ list = ( array ) $ this -> review -> getList ( $ options ) ; $ this -> prepareReviewsProduct ( $ list ) ; return $ list ; }
docstring: Returns an array of reviews for the product
  @param array $limit
  @return array
docstring_tokens: Returns an array of reviews for the product