Update translations and fix some code.

This commit is contained in:
James Cole
2023-02-22 19:54:19 +01:00
parent a18cd23154
commit 585cfddfd7
40 changed files with 343 additions and 328 deletions

View File

@@ -25,6 +25,7 @@ namespace FireflyIII\Helpers\Report;
use Carbon\Carbon;
use FireflyIII\User;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Support\Collection;
/**
@@ -54,9 +55,9 @@ interface NetWorthInterface
public function getNetWorthByCurrency(Collection $accounts, Carbon $date): array;
/**
* @param User $user
* @param User|Authenticatable|null $user
*/
public function setUser(User $user): void;
public function setUser(User|Authenticatable|null $user): void;
/**
* TODO move to repository