original_string: public function setItemOrderStatusName(&$item, $order_model)
      {
          if (isset($item['status'])) {
              $data = $order_model->getStatusName($item['status']);
              $item['status_name'] = empty($data) ? 'Unknown' : $data;
          }
      }
code: public function setItemOrderStatusName(&$item, $order_model)
      {
          if (isset($item['status'])) {
              $data = $order_model->getStatusName($item['status']);
              $item['status_name'] = empty($data) ? 'Unknown' : $data;
          }
      }
code_tokens: public function setItemOrderStatusName ( & $ item , $ order_model ) { if ( isset ( $ item [ 'status' ] ) ) { $ data = $ order_model -> getStatusName ( $ item [ 'status' ] ) ; $ item [ 'status_name' ] = empty ( $ data ) ? 'Unknown' : $ data ; } }
docstring: Adds "status_name" key
  @param array $item
  @param \gplcart\core\models\Order $order_model
docstring_tokens: Adds status_name key