More Product Model optimisation

This commit is contained in:
2023-05-05 15:48:24 +10:00
parent 96f799f535
commit 820ff2be00
37 changed files with 161 additions and 592 deletions

View File

@@ -10,7 +10,7 @@ class ProductTranslate extends Model
public $timestamps = FALSE;
public function getDescriptionAttribute(string $val): string
public function getDescriptionAttribute(?string $val): string
{
return $val ?: 'No Description';
}