Skip to content

Commit

Permalink
add missing fillable property
Browse files Browse the repository at this point in the history
  • Loading branch information
mjauvin committed Apr 25, 2024
1 parent b7de6cf commit f0da7e3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions models/Locale.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ class Locale extends Model
'name' => 'required',
];

/**
* @var array Attributes that are mass assignable
*/
public $fillable = [
'code',
'name',
'is_enabled',
];

public $timestamps = false;

/**
Expand Down

0 comments on commit f0da7e3

Please sign in to comment.