diff --git a/Models/BaseModel.php b/Models/BaseModel.php index a54e24cb..482f6f71 100755 --- a/Models/BaseModel.php +++ b/Models/BaseModel.php @@ -58,13 +58,13 @@ protected function casts(): array ]; } - /** @var array */ + /** @var list */ protected $appends = []; /** @var string */ protected $primaryKey = 'id'; - /** @var array */ + /** @var list */ protected $hidden = [ // 'password' ]; diff --git a/Models/BaseMorphPivot.php b/Models/BaseMorphPivot.php index 8a087e89..9a1f9a03 100755 --- a/Models/BaseMorphPivot.php +++ b/Models/BaseMorphPivot.php @@ -35,13 +35,13 @@ abstract class BaseMorphPivot extends MorphPivot /** @var string */ protected $connection = 'notify'; - /** @var array */ + /** @var list */ protected $appends = []; /** @var string */ protected $primaryKey = 'id'; - /** @var array */ + /** @var list */ protected $fillable = [ 'id', 'post_id', 'post_type', diff --git a/Models/BasePivot.php b/Models/BasePivot.php index 085428c1..bf97c899 100755 --- a/Models/BasePivot.php +++ b/Models/BasePivot.php @@ -36,7 +36,7 @@ abstract class BasePivot extends Pivot // this will use the specified database connection - /** @var array */ + /** @var list */ protected $appends = []; /** @return array */ diff --git a/Models/Contact.php b/Models/Contact.php index da742a39..f2476da2 100755 --- a/Models/Contact.php +++ b/Models/Contact.php @@ -108,7 +108,7 @@ */ class Contact extends BaseModel { - /** @var array */ + /** @var list */ protected $fillable = [ 'model_id', 'model_type', 'contact_type', 'value', 'verified_at', 'updated_at', 'created_at', diff --git a/Models/NotifyTheme.php b/Models/NotifyTheme.php index d3dac03d..3ab21994 100755 --- a/Models/NotifyTheme.php +++ b/Models/NotifyTheme.php @@ -74,7 +74,7 @@ class NotifyTheme extends BaseModel implements HasMedia { use InteractsWithMedia; - /** @var array */ + /** @var list */ protected $fillable = [ 'id', 'lang', @@ -93,7 +93,7 @@ class NotifyTheme extends BaseModel implements HasMedia 'view_params', ]; - /** @var array */ + /** @var list */ protected $appends = [ 'logo', ];