removing a lot of commented out font sizes
This commit is contained in:
@ -4,6 +4,7 @@ use App\Models\Traits\HasUidTrait;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\Casts\Attribute;
|
||||
use Illuminate\Database\Eloquent\Prunable;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Laravel\Scout\Searchable;
|
||||
|
||||
use HasUidTrait;
|
||||
@ -19,25 +20,25 @@ protected \$keyType = 'string';
|
||||
/** @var bool */
|
||||
public \$incrementing = false;
|
||||
|
||||
/** @var string[] */
|
||||
/** @var array<int,string> */
|
||||
protected \$fillable = [];
|
||||
|
||||
/** @var string[] */
|
||||
/** @var array<int,string> */
|
||||
protected \$hidden = [];
|
||||
|
||||
/** @var array */
|
||||
/** @var array<string,string> */
|
||||
protected \$casts = [];
|
||||
|
||||
/** @var string[] */
|
||||
/** @var array<int,string> */
|
||||
protected \$dates = [];
|
||||
|
||||
/** @var string[] */
|
||||
/** @var array<int,string> */
|
||||
protected \$appends = [];
|
||||
|
||||
/** @var array */
|
||||
/** @var array<int,string> */
|
||||
protected \$touches = [];
|
||||
|
||||
/** @var array */
|
||||
/** @var array<int,string> */
|
||||
protected \$dispatchesEvents = [];
|
||||
|
||||
/*
|
||||
@ -150,6 +151,7 @@ protected function attrName(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: fn (\$value, \$attributes) => \$attributes['foo'],
|
||||
set: fn (\$value, \$attributes) => \$attributes['foo'],
|
||||
);
|
||||
}
|
||||
|
||||
@ -178,7 +180,13 @@ protected function attrName(): Attribute
|
||||
|
|
||||
*/
|
||||
|
||||
//
|
||||
public function something(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(
|
||||
related: Something::class,
|
||||
foreignKey: 'something_id',
|
||||
);
|
||||
}
|
||||
]]></content>
|
||||
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
|
||||
<tabTrigger>laramodel</tabTrigger>
|
||||
|
Reference in New Issue
Block a user