Skip to content

Commit

Permalink
Merge pull request #35 from suhailhijry/master
Browse files Browse the repository at this point in the history
Make account balance and limits public properties to fix creating snapshots
  • Loading branch information
freekmurze authored Aug 20, 2024
2 parents a3f2fa7 + ff652aa commit 3a09fdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Domain/Account/AccountAggregateRoot.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

class AccountAggregateRoot extends AggregateRoot
{
protected int $balance = 0;
public int $balance = 0;

protected int $accountLimit = -5000;

protected int $accountLimitHitInARow = 0;
public int $accountLimitHitInARow = 0;

public function createAccount(string $name, string $userId)
{
Expand Down

0 comments on commit 3a09fdf

Please sign in to comment.