original_string: protected function getResultDelete(array $cart)
      {
          $options = array(
              'user_id' => $cart['user_id'],
              'store_id' => $cart['store_id'],
          );
  
          $content = $this->cart->getContent($options);
  
          return array(
              'redirect' => '',
              'severity' => 'success',
              'quantity' => empty($content['quantity']) ? 0 : $content['quantity'],
              'message' => $this->translation->text('Product has been deleted from cart')
          );
      }
code: protected function getResultDelete(array $cart)
      {
          $options = array(
              'user_id' => $cart['user_id'],
              'store_id' => $cart['store_id'],
          );
  
          $content = $this->cart->getContent($options);
  
          return array(
              'redirect' => '',
              'severity' => 'success',
              'quantity' => empty($content['quantity']) ? 0 : $content['quantity'],
              'message' => $this->translation->text('Product has been deleted from cart')
          );
      }
code_tokens: protected function getResultDelete ( array $ cart ) { $ options = array ( 'user_id' => $ cart [ 'user_id' ] , 'store_id' => $ cart [ 'store_id' ] , ) ; $ content = $ this -> cart -> getContent ( $ options ) ; return array ( 'redirect' => '' , 'severity' => 'success' , 'quantity' => empty ( $ content [ 'quantity' ] ) ? 0 : $ content [ 'quantity' ] , 'message' => $ this -> translation -> text ( 'Product has been deleted from cart' ) ) ; }
docstring: Returns an array of resulting data after a product has been deleted from a cart
  @param array $cart
  @return array
docstring_tokens: Returns an array of resulting data after a product has been deleted from a cart