Use map() instead of transform(), use fn() instead of function(), consistent coding for form.select
This commit is contained in:
@@ -21,7 +21,7 @@ abstract class Type extends Model
|
||||
*/
|
||||
final public function products()
|
||||
{
|
||||
return $this->morphMany(Product::class, null,'model','model_id');
|
||||
return $this->morphMany(Product::class,null,'model','model_id');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user