Skip to content

Commit

Permalink
internal(modifier): update casts
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Aug 13, 2023
1 parent 5fa8ff7 commit 74decc3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/Entities/Modifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@ class Modifier extends BaseResourceEntity

protected $casts = [
"id" => "integer",
"account_id" => "integer",
"opposite_account_id" => "integer",
"debit_account_id" => "integer",
"credit_account_id" => "integer",
"name" => "string",
"description" => "?string",
"result_side" => "side",
"kind" => "modifier_kind"
];

protected $castHandlers = [
"side" => ResultSide::class,
"modifier_kind" => ModifierKind::class,
];
}

0 comments on commit 74decc3

Please sign in to comment.