Skip to content

Commit

Permalink
Lib updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcage committed Jan 27, 2024
1 parent 85b7120 commit 106a9c4
Show file tree
Hide file tree
Showing 8 changed files with 232 additions and 235 deletions.
8 changes: 4 additions & 4 deletions app/Exports/Accounting/Sheets/TransactionsMonthSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
class TransactionsMonthSheet extends BaseTransactionsExport
{
/**
* @param Wallet|null $wallet Wallet
* @param Carbon $month Month date
* @param string|null $filter Simple filter
* @param array<string>|null $advancedFilter Filter conditions
* @param Wallet|null $wallet Wallet
* @param Carbon $month Month date
* @param string|null $filter Simple filter
* @param array<string>|null $advancedFilter Filter conditions
*/
public function __construct(
private ?Wallet $wallet,
Expand Down
2 changes: 1 addition & 1 deletion app/Exports/Accounting/Sheets/TransactionsSummarySheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class TransactionsSummarySheet extends BaseExport implements FromView, WithColumnFormatting
{
/**
* @param array<Carbon> $months Months
* @param array<Carbon> $months Months
*/
public function __construct(private array $months)
{
Expand Down
6 changes: 3 additions & 3 deletions app/Exports/Accounting/TransactionsMonthsExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ class TransactionsMonthsExport implements WithEvents, WithMultipleSheets
use DefaultFormatting, Exportable;

/**
* @param Wallet|null $wallet Wallet
* @param string|null $filter Simple filter
* @param array<string> $advancedFilter Filter conditions
* @param Wallet|null $wallet Wallet
* @param string|null $filter Simple filter
* @param array<string> $advancedFilter Filter conditions
*/
public function __construct(
private ?Wallet $wallet,
Expand Down
2 changes: 1 addition & 1 deletion app/Models/Accounting/Wallet.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function transactions(): HasMany
/**
* Gets the amount of the wallet
*
* @param \Carbon\Carbon $date optional end-date until which transactions should be considered
* @param \Carbon\Carbon $date optional end-date until which transactions should be considered
*/
public function calculatedSum(?Carbon $date = null): ?float
{
Expand Down
4 changes: 2 additions & 2 deletions app/Util/ArrayUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ class ArrayUtil
/**
* Checks if the array contains non-blank values specified by the given keys.
*
* @param array $array the array to be checked
* @param array $keys the keys to be considered
* @param array $array the array to be checked
* @param array $keys the keys to be considered
* @return bool if all values indicated by the specified keys are not blank
*/
public static function elementsNotBlank(array $array, array $keys): bool
Expand Down
2 changes: 1 addition & 1 deletion app/Util/Badges/BadgeCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class BadgeCreator
public bool $mirror = true;

/**
* @param array|Collection $persons Data of persons to be printed on the badges
* @param array|Collection $persons Data of persons to be printed on the badges
*/
public function __construct(private readonly array|Collection $persons)
{
Expand Down
Loading

0 comments on commit 106a9c4

Please sign in to comment.