Code Duplication    Length = 8-8 lines in 2 locations

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

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

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

@@ 90-97 (lines=8) @@
87
     *
88
     * @return void
89
     */
90
    protected function _construct()
91
    {
92
        $this->addColumn('txaction', ['label' => __('Transactionstatus-message')]);
93
        $this->addColumn('state_status', ['label' => __('Magento-status')]);
94
        $this->addAfter = false;
95
        $this->addButtonLabel = __('Add Statusmapping');
96
        parent::_construct();
97
    }
98
99
    /**
100
     * Render array cell for prototypeJS template