More phpstan issues fixed.

This commit is contained in:
James Cole
2023-11-05 09:54:53 +01:00
parent 1b978d41e0
commit 2d5790c417
73 changed files with 142 additions and 574 deletions

View File

@@ -105,11 +105,7 @@ class Bill extends Model
{
use SoftDeletes;
/**
* The attributes that should be casted to native types.
*
* @var array
*/
protected $casts
= [
'created_at' => 'datetime',
@@ -125,7 +121,7 @@ class Bill extends Model
'match_encrypted' => 'boolean',
];
/** @var array Fields that can be filled */
protected $fillable
= [
'name',
@@ -143,7 +139,7 @@ class Bill extends Model
'end_date',
'extension_date',
];
/** @var array Hidden from view */
protected $hidden = ['amount_min_encrypted', 'amount_max_encrypted', 'name_encrypted', 'match_encrypted'];
/**