Code Duplication    Length = 13-13 lines in 2 locations

app/Form/Issue.php 2 locations

@@ 267-279 (lines=13) @@
264
     *
265
     * @return array
266
     */
267
    protected function fieldStatusTags()
268
    {
269
        $options = $this->getSelectableTags('status');
270
271
        $fields['tag_status'] = [
272
            'label'  => 'status',
273
            'type'   => 'radioButton',
274
            'radios' => $options,
275
            'check'  => $this->getIssueTag('status')->id,
276
        ];
277
278
        return $fields;
279
    }
280
281
    /**
282
     * Returns tags field.
@@ 286-298 (lines=13) @@
283
     *
284
     * @return array
285
     */
286
    protected function fieldTypeTags()
287
    {
288
        $options = $this->getSelectableTags('type');
289
290
        $fields['tag_type'] = [
291
            'label'  => 'type',
292
            'type'   => 'radioButton',
293
            'radios' => $options,
294
            'check'  => $this->getIssueTag('type')->id,
295
        ];
296
297
        return $fields;
298
    }
299
300
    /**
301
     * Returns tags field.