Code Duplication    Length = 8-8 lines in 2 locations

src/LIN3S/CMSKernel/Infrastructure/Lin3sAdminBundle/Action/Type/NewTranslatableActionType.php 1 location

@@ 144-151 (lines=8) @@
141
        }
142
    }
143
144
    private function catchableExceptions(array $options)
145
    {
146
        if (!isset($options['catchable_exceptions'])) {
147
            return [];
148
        }
149
150
        return json_decode($options['catchable_exceptions'], true);
151
    }
152
}
153

src/LIN3S/CMSKernel/Infrastructure/Lin3sAdminBundle/Action/Type/TranslateActionType.php 1 location

@@ 149-156 (lines=8) @@
146
        }
147
    }
148
149
    private function catchableExceptions(array $options)
150
    {
151
        if (!isset($options['catchable_exceptions'])) {
152
            return [];
153
        }
154
155
        return json_decode($options['catchable_exceptions'], true);
156
    }
157
}
158