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

@@ -82,11 +82,7 @@ class TransactionCurrency extends Model
public ?bool $userEnabled;
public ?bool $userDefault;
/**
* The attributes that should be casted to native types.
*
* @var array
*/
protected $casts
= [
'created_at' => 'datetime',
@@ -95,7 +91,7 @@ class TransactionCurrency extends Model
'decimal_places' => 'int',
'enabled' => 'bool',
];
/** @var array Fields that can be filled */
protected $fillable = ['name', 'code', 'symbol', 'decimal_places', 'enabled'];
/**