Code Duplication    Length = 7-7 lines in 2 locations

app/Models/Firm.php 1 location

@@ 136-142 (lines=7) @@
133
    /**
134
     * @param string $name
135
     */
136
    public function setNameAttribute($name)
137
    {
138
        $name = trim($name);
139
140
        $this->attributes['name'] = $name;
141
        $this->attributes['slug'] = str_slug($name, '_');
142
    }
143
144
    /**
145
     * @param string $value

app/Models/Job.php 1 location

@@ 487-493 (lines=7) @@
484
    /**
485
     * @param string $title
486
     */
487
    public function setTitleAttribute($title)
488
    {
489
        $title = trim($title);
490
491
        $this->attributes['title'] = $title;
492
        $this->attributes['slug'] = str_slug($title, '_');
493
    }
494
495
    /**
496
     * @param string $value