Code Duplication    Length = 8-8 lines in 2 locations

Block/Adminhtml/Config/Form/Field/KlarnaStoreId.php 1 location

@@ 72-79 (lines=8) @@
69
     *
70
     * @return void
71
     */
72
    protected function _construct()
73
    {
74
        $this->addColumn('store_id', ['label' => __('Store-ID')]);
75
        $this->addColumn('countries', ['label' => __('Countries')]);
76
        $this->_addAfter = false;
77
        $this->_addButtonLabel = __('Add Store-ID');
78
        parent::_construct();
79
    }
80
81
    /**
82
     * Render array cell for prototypeJS template

Block/Adminhtml/Config/Form/Field/StatusMapping.php 1 location

@@ 82-89 (lines=8) @@
79
     *
80
     * @return void
81
     */
82
    protected function _construct()
83
    {
84
        $this->addColumn('txaction', ['label' => __('Transactionstatus-message')]); // set column name for txaction
85
        $this->addColumn('state_status', ['label' => __('Magento-status')]); // set column name for state_status
86
        $this->addAfter = false; // dont add "add after" button
87
        $this->addButtonLabel = __('Add Statusmapping'); // set the label text of the button
88
        parent::_construct();
89
    }
90
91
    /**
92
     * Render array cell for prototypeJS template