original_string: public function setItemOrderShippingName(&$item, $shipping_model)
      {
          if (isset($item['shipping'])) {
              $data = $shipping_model->get($item['shipping']);
              $item['shipping_name'] = empty($data['title']) ? 'Unknown' : $data['title'];
          }
      }
code: public function setItemOrderShippingName(&$item, $shipping_model)
      {
          if (isset($item['shipping'])) {
              $data = $shipping_model->get($item['shipping']);
              $item['shipping_name'] = empty($data['title']) ? 'Unknown' : $data['title'];
          }
      }
code_tokens: public function setItemOrderShippingName ( & $ item , $ shipping_model ) { if ( isset ( $ item [ 'shipping' ] ) ) { $ data = $ shipping_model -> get ( $ item [ 'shipping' ] ) ; $ item [ 'shipping_name' ] = empty ( $ data [ 'title' ] ) ? 'Unknown' : $ data [ 'title' ] ; } }
docstring: Adds "shipping_name" key
  @param array $item
  @param \gplcart\core\models\Shipping $shipping_model
docstring_tokens: Adds shipping_name key