Code Duplication    Length = 3-3 lines in 2 locations

caffeinated/payment_methods/Aim/EEG_Aim.gateway.php 2 locations

@@ 373-375 (lines=3) @@
370
        $this->_x_post_fields['login'] = $this->_login_id;
371
        $this->_x_post_fields['tran_key'] = $this->_transaction_key;
372
        $x_keys = array();
373
        foreach ($this->_x_post_fields as $key => $value) {
374
            $x_keys[] = "x_$key=" . urlencode($this->_get_unsupported_character_remover()->format($value));
375
        }
376
        // Add line items
377
        foreach ($this->_additional_line_items as $key => $value) {
378
            $x_keys[] =  "x_line_item=" . urlencode($this->_get_unsupported_character_remover()->format($value));
@@ 377-379 (lines=3) @@
374
            $x_keys[] = "x_$key=" . urlencode($this->_get_unsupported_character_remover()->format($value));
375
        }
376
        // Add line items
377
        foreach ($this->_additional_line_items as $key => $value) {
378
            $x_keys[] =  "x_line_item=" . urlencode($this->_get_unsupported_character_remover()->format($value));
379
        }
380
        $this->_log_clean_request($x_keys, $payment);
381
        $post_url = $this->_get_server_url();
382
        $curl_request = curl_init($post_url);