Code Duplication    Length = 8-8 lines in 2 locations

src/LIN3S/CMSKernel/Infrastructure/Lin3sAdminBundle/Action/Type/NewTranslatableActionType.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

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

@@ 154-161 (lines=8) @@
151
        }
152
    }
153
154
    private function catchableExceptions(array $options)
155
    {
156
        if (!isset($options['catchable_exceptions'])) {
157
            return [];
158
        }
159
160
        return json_decode($options['catchable_exceptions'], true);
161
    }
162
}
163