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
        return [
272
            'tag_status' => [
273
                'label'  => 'status',
274
                'type'   => 'radioButton',
275
                'radios' => $options,
276
                'check'  => $this->getIssueTag('status')->id,
277
            ],
278
        ];
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
        return [
291
            'tag_type' => [
292
                'label'  => 'type',
293
                'type'   => 'radioButton',
294
                'radios' => $options,
295
                'check'  => $this->getIssueTag('type')->id,
296
            ],
297
        ];
298
    }
299
300
    /**
301
     * Returns tags field.