Updated cast for Category model

This commit is contained in:
Kamil Niemczycki 2022-02-16 10:55:01 +01:00
parent 0e2d3dec2f
commit b4e14b3151

View File

@ -22,8 +22,8 @@ class Category extends Model
'name' => 'string',
'slug' => 'string',
'priority' => 'integer',
'default' => 'bool',
'visible' => 'bool'
'default' => 'boolean',
'visible' => 'boolean'
];
public function scopeVisibled(Builder $builder)