From b4e14b315164c8ab0f8d7c1e89d1a23be3a7ff78 Mon Sep 17 00:00:00 2001 From: Kamil Niemczycki Date: Wed, 16 Feb 2022 10:55:01 +0100 Subject: [PATCH] Updated cast for Category model --- app/Models/Category.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Category.php b/app/Models/Category.php index 78fbf5e..4493f25 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -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)