chore: reformat code.

This commit is contained in:
James Cole
2023-06-21 12:34:58 +02:00
parent 8d87abde64
commit 3dcb35710b
799 changed files with 23319 additions and 22173 deletions

View File

@@ -37,7 +37,7 @@ class ActuallyLoggedIn extends Event
public User $user;
/**
* @param User $user
* @param User $user
*/
public function __construct(User $user)
{

View File

@@ -43,7 +43,7 @@ class InvitationCreated extends Event
/**
* Create a new event instance.
*
* @param InvitedUser $invitee
* @param InvitedUser $invitee
*/
public function __construct(InvitedUser $invitee)
{

View File

@@ -42,7 +42,7 @@ class AdminRequestedTestMessage extends Event
/**
* Create a new event instance.
*
* @param User $user
* @param User $user
*/
public function __construct(User $user)
{

View File

@@ -45,10 +45,10 @@ class ChangedPiggyBankAmount extends Event
/**
* Create a new event instance.
*
* @param PiggyBank $piggyBank
* @param string $amount
* @param TransactionJournal|null $transactionJournal
* @param TransactionGroup|null $transactionGroup
* @param PiggyBank $piggyBank
* @param string $amount
* @param TransactionJournal|null $transactionJournal
* @param TransactionGroup|null $transactionGroup
*/
public function __construct(PiggyBank $piggyBank, string $amount, ?TransactionJournal $transactionJournal, ?TransactionGroup $transactionGroup)
{

View File

@@ -42,7 +42,7 @@ class DestroyedTransactionGroup extends Event
/**
* Create a new event instance.
*
* @param TransactionGroup $transactionGroup
* @param TransactionGroup $transactionGroup
*/
public function __construct(TransactionGroup $transactionGroup)
{

View File

@@ -38,7 +38,7 @@ class DestroyedTransactionLink extends Event
/**
* DestroyedTransactionLink constructor.
*
* @param TransactionJournalLink $link
* @param TransactionJournalLink $link
*/
public function __construct(TransactionJournalLink $link)
{

View File

@@ -39,8 +39,8 @@ class DetectedNewIPAddress extends Event
/**
* Create a new event instance. This event is triggered when a new user registers.
*
* @param User $user
* @param string $ipAddress
* @param User $user
* @param string $ipAddress
*/
public function __construct(User $user, string $ipAddress)
{

View File

@@ -37,7 +37,7 @@ class Created extends Event
public BudgetLimit $budgetLimit;
/**
* @param BudgetLimit $budgetLimit
* @param BudgetLimit $budgetLimit
*/
public function __construct(BudgetLimit $budgetLimit)
{

View File

@@ -37,7 +37,7 @@ class Deleted extends Event
public BudgetLimit $budgetLimit;
/**
* @param BudgetLimit $budgetLimit
* @param BudgetLimit $budgetLimit
*/
public function __construct(BudgetLimit $budgetLimit)
{

View File

@@ -37,7 +37,7 @@ class Updated extends Event
public BudgetLimit $budgetLimit;
/**
* @param BudgetLimit $budgetLimit
* @param BudgetLimit $budgetLimit
*/
public function __construct(BudgetLimit $budgetLimit)
{

View File

@@ -35,7 +35,7 @@ class NewVersionAvailable extends Event
/**
* Create a new event instance. This event is triggered when a new version is available.
*
* @param string $message
* @param string $message
*/
public function __construct(string $message)
{

View File

@@ -40,7 +40,8 @@ class RegisteredUser extends Event
/**
* Create a new event instance. This event is triggered when a new user registers.
* @param User $user
*
* @param User $user
*/
public function __construct(User $user)
{

View File

@@ -46,9 +46,9 @@ class RequestedNewPassword extends Event
/**
* Create a new event instance. This event is triggered when a users tries to reset his or her password.
*
* @param User $user
* @param string $token
* @param string $ipAddress
* @param User $user
* @param string $token
* @param string $ipAddress
*/
public function __construct(User $user, string $token, string $ipAddress)
{

View File

@@ -48,8 +48,8 @@ class RequestedReportOnJournals
/**
* Create a new event instance.
*
* @param int $userId
* @param Collection $groups
* @param int $userId
* @param Collection $groups
*/
public function __construct(int $userId, Collection $groups)
{

View File

@@ -43,7 +43,7 @@ class RequestedVersionCheckStatus extends Event
* Create a new event instance. This event is triggered when Firefly III wants to know
* what the deal is with the version checker.
*
* @param User $user
* @param User $user
*/
public function __construct(User $user)
{

View File

@@ -39,7 +39,7 @@ class StoredAccount extends Event
/**
* Create a new event instance.
*
* @param Account $account
* @param Account $account
*/
public function __construct(Account $account)
{

View File

@@ -43,9 +43,9 @@ class StoredTransactionGroup extends Event
/**
* Create a new event instance.
*
* @param TransactionGroup $transactionGroup
* @param bool $applyRules
* @param bool $fireWebhooks
* @param TransactionGroup $transactionGroup
* @param bool $applyRules
* @param bool $fireWebhooks
*/
public function __construct(TransactionGroup $transactionGroup, bool $applyRules, bool $fireWebhooks)
{

View File

@@ -39,7 +39,7 @@ class UpdatedAccount extends Event
/**
* Create a new event instance.
*
* @param Account $account
* @param Account $account
*/
public function __construct(Account $account)
{

View File

@@ -43,9 +43,9 @@ class UpdatedTransactionGroup extends Event
/**
* Create a new event instance.
*
* @param TransactionGroup $transactionGroup
* @param bool $applyRules
* @param bool $fireWebhooks
* @param TransactionGroup $transactionGroup
* @param bool $applyRules
* @param bool $fireWebhooks
*/
public function __construct(TransactionGroup $transactionGroup, bool $applyRules, bool $fireWebhooks)
{

View File

@@ -43,9 +43,9 @@ class UserChangedEmail extends Event
/**
* UserChangedEmail constructor.
*
* @param User $user
* @param string $newEmail
* @param string $oldEmail
* @param User $user
* @param string $newEmail
* @param string $oldEmail
*/
public function __construct(User $user, string $newEmail, string $oldEmail)
{

View File

@@ -41,9 +41,9 @@ class WarnUserAboutBill extends Event
public string $field;
/**
* @param Bill $bill
* @param string $field
* @param int $diff
* @param Bill $bill
* @param string $field
* @param int $diff
*/
public function __construct(Bill $bill, string $field, int $diff)
{