Update translations

This commit is contained in:
James Cole
2023-11-15 06:32:41 +01:00
parent 67ef185a72
commit 8f26bbdaa0
35 changed files with 240 additions and 248 deletions

View File

@@ -41,7 +41,7 @@ class AccountController extends Controller
{
use AccountFilter;
/** @var array<int, string> */
/** @var array<int, string> */
private array $balanceTypes;
private AccountRepositoryInterface $repository;
@@ -120,8 +120,8 @@ class AccountController extends Controller
$return,
static function (array $left, array $right) {
$order = [AccountType::ASSET, AccountType::REVENUE, AccountType::EXPENSE];
$posA = (int) array_search($left['type'], $order, true);
$posB = (int) array_search($right['type'], $order, true);
$posA = (int)array_search($left['type'], $order, true);
$posB = (int)array_search($right['type'], $order, true);
return $posA - $posB;
}