mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
chore: reformat code.
This commit is contained in:
@@ -37,7 +37,7 @@ class ActuallyLoggedIn extends Event
|
||||
public User $user;
|
||||
|
||||
/**
|
||||
* @param User $user
|
||||
* @param User $user
|
||||
*/
|
||||
public function __construct(User $user)
|
||||
{
|
||||
|
@@ -43,7 +43,7 @@ class InvitationCreated extends Event
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param InvitedUser $invitee
|
||||
* @param InvitedUser $invitee
|
||||
*/
|
||||
public function __construct(InvitedUser $invitee)
|
||||
{
|
||||
|
@@ -42,7 +42,7 @@ class AdminRequestedTestMessage extends Event
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param User $user
|
||||
* @param User $user
|
||||
*/
|
||||
public function __construct(User $user)
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -42,7 +42,7 @@ class DestroyedTransactionGroup extends Event
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param TransactionGroup $transactionGroup
|
||||
* @param TransactionGroup $transactionGroup
|
||||
*/
|
||||
public function __construct(TransactionGroup $transactionGroup)
|
||||
{
|
||||
|
@@ -38,7 +38,7 @@ class DestroyedTransactionLink extends Event
|
||||
/**
|
||||
* DestroyedTransactionLink constructor.
|
||||
*
|
||||
* @param TransactionJournalLink $link
|
||||
* @param TransactionJournalLink $link
|
||||
*/
|
||||
public function __construct(TransactionJournalLink $link)
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -37,7 +37,7 @@ class Created extends Event
|
||||
public BudgetLimit $budgetLimit;
|
||||
|
||||
/**
|
||||
* @param BudgetLimit $budgetLimit
|
||||
* @param BudgetLimit $budgetLimit
|
||||
*/
|
||||
public function __construct(BudgetLimit $budgetLimit)
|
||||
{
|
||||
|
@@ -37,7 +37,7 @@ class Deleted extends Event
|
||||
public BudgetLimit $budgetLimit;
|
||||
|
||||
/**
|
||||
* @param BudgetLimit $budgetLimit
|
||||
* @param BudgetLimit $budgetLimit
|
||||
*/
|
||||
public function __construct(BudgetLimit $budgetLimit)
|
||||
{
|
||||
|
@@ -37,7 +37,7 @@ class Updated extends Event
|
||||
public BudgetLimit $budgetLimit;
|
||||
|
||||
/**
|
||||
* @param BudgetLimit $budgetLimit
|
||||
* @param BudgetLimit $budgetLimit
|
||||
*/
|
||||
public function __construct(BudgetLimit $budgetLimit)
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -39,7 +39,7 @@ class StoredAccount extends Event
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param Account $account
|
||||
* @param Account $account
|
||||
*/
|
||||
public function __construct(Account $account)
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -39,7 +39,7 @@ class UpdatedAccount extends Event
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param Account $account
|
||||
* @param Account $account
|
||||
*/
|
||||
public function __construct(Account $account)
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user