Code Duplication    Length = 18-18 lines in 2 locations

src/Models/Action.php 1 location

@@ 16-33 (lines=18) @@
13
14
use Illuminate\Database\Eloquent\Model;
15
16
class Action extends Model
17
{
18
    public $timestamps = false;
19
20
    protected $guarded = ['id'];
21
22
    /**
23
     * Address constructor.
24
     *
25
     * @param array $attributes
26
     */
27
    public function __construct(array $attributes = [])
28
    {
29
        $this->setTable(config('ibrand.app.database.prefix', 'ibrand_').'discount_action');
30
31
        parent::__construct($attributes);
32
    }
33
}
34

src/Models/Rule.php 1 location

@@ 16-33 (lines=18) @@
13
14
use Illuminate\Database\Eloquent\Model;
15
16
class Rule extends Model
17
{
18
    public $timestamps = false;
19
20
    protected $guarded = ['id'];
21
22
    /**
23
     * Address constructor.
24
     *
25
     * @param array $attributes
26
     */
27
    public function __construct(array $attributes = [])
28
    {
29
        $this->setTable(config('ibrand.app.database.prefix', 'ibrand_').'discount_rule');
30
31
        parent::__construct($attributes);
32
    }
33
}
34