Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
marco76tv committed Aug 27, 2024
1 parent f49795a commit 10b237f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Models/BaseModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ protected function casts(): array
];
}

/** @var array<int, string> */
/** @var list<string> */
protected $appends = [];

/** @var string */
protected $primaryKey = 'id';

/** @var array<int, string> */
/** @var list<string> */
protected $hidden = [
// 'password'
];
Expand Down
4 changes: 2 additions & 2 deletions Models/BaseMorphPivot.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ abstract class BaseMorphPivot extends MorphPivot
/** @var string */
protected $connection = 'notify';

/** @var array<int, string> */
/** @var list<string> */
protected $appends = [];

/** @var string */
protected $primaryKey = 'id';

/** @var array<int, string> */
/** @var list<string> */
protected $fillable = [
'id',
'post_id', 'post_type',
Expand Down
2 changes: 1 addition & 1 deletion Models/BasePivot.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ abstract class BasePivot extends Pivot

// this will use the specified database connection

/** @var array<int, string> */
/** @var list<string> */
protected $appends = [];

/** @return array<string, string> */
Expand Down
2 changes: 1 addition & 1 deletion Models/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
*/
class Contact extends BaseModel
{
/** @var array<int, string> */
/** @var list<string> */
protected $fillable = [
'model_id', 'model_type', 'contact_type', 'value',
'verified_at', 'updated_at', 'created_at',
Expand Down
4 changes: 2 additions & 2 deletions Models/NotifyTheme.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class NotifyTheme extends BaseModel implements HasMedia
{
use InteractsWithMedia;

/** @var array<int, string> */
/** @var list<string> */
protected $fillable = [
'id',
'lang',
Expand All @@ -93,7 +93,7 @@ class NotifyTheme extends BaseModel implements HasMedia
'view_params',
];

/** @var array<int, string> */
/** @var list<string> */
protected $appends = [
'logo',
];
Expand Down

0 comments on commit 10b237f

Please sign in to comment.