Code Duplication    Length = 7-7 lines in 2 locations

app/Services/Html/BlenderFormBuilder.php 2 locations

@@ 157-163 (lines=7) @@
154
        ]);
155
    }
156
157
    public function tags(string $type): string
158
    {
159
        return $this->group([
160
            Form::label($type.'_tags[]', fragment("back.{$this->module}.{$type}").'*'),
161
            Form::tags($this->model, $type),
162
        ]);
163
    }
164
165
    public function category(string $type): string
166
    {
@@ 165-171 (lines=7) @@
162
        ]);
163
    }
164
165
    public function category(string $type): string
166
    {
167
        return $this->group([
168
            Form::label($type.'_tags[]', fragment("back.{$this->module}.{$type}").'*'),
169
            Form::category($this->model, $type, ['data-select' => 'select']),
170
        ]);
171
    }
172
173
    public function media(string $collection, string $type, array $associated = []): string
174
    {