mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 00:27:30 +00:00
🤖 Auto commit for release 'develop' on 2025-05-04
This commit is contained in:
@@ -41,7 +41,5 @@ class InvitationCreated extends Event
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*/
|
||||
public function __construct(public InvitedUser $invitee)
|
||||
{
|
||||
}
|
||||
public function __construct(public InvitedUser $invitee) {}
|
||||
}
|
||||
|
@@ -37,7 +37,5 @@ class DestroyedTransactionLink extends Event
|
||||
/**
|
||||
* DestroyedTransactionLink constructor.
|
||||
*/
|
||||
public function __construct(private TransactionJournalLink $link)
|
||||
{
|
||||
}
|
||||
public function __construct(private TransactionJournalLink $link) {}
|
||||
}
|
||||
|
@@ -37,7 +37,5 @@ class DetectedNewIPAddress extends Event
|
||||
/**
|
||||
* Create a new event instance. This event is triggered when a new user registers.
|
||||
*/
|
||||
public function __construct(public User $user)
|
||||
{
|
||||
}
|
||||
public function __construct(public User $user) {}
|
||||
}
|
||||
|
@@ -31,7 +31,5 @@ class Updated
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
public function __construct(public Account $account)
|
||||
{
|
||||
}
|
||||
public function __construct(public Account $account) {}
|
||||
}
|
||||
|
@@ -35,7 +35,5 @@ class Created extends Event
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
public function __construct(public BudgetLimit $budgetLimit)
|
||||
{
|
||||
}
|
||||
public function __construct(public BudgetLimit $budgetLimit) {}
|
||||
}
|
||||
|
@@ -35,7 +35,5 @@ class Deleted extends Event
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
public function __construct(public BudgetLimit $budgetLimit)
|
||||
{
|
||||
}
|
||||
public function __construct(public BudgetLimit $budgetLimit) {}
|
||||
}
|
||||
|
@@ -35,7 +35,5 @@ class Updated extends Event
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
public function __construct(public BudgetLimit $budgetLimit)
|
||||
{
|
||||
}
|
||||
public function __construct(public BudgetLimit $budgetLimit) {}
|
||||
}
|
||||
|
@@ -46,7 +46,7 @@ class ChangedAmount extends Event
|
||||
public function __construct(PiggyBank $piggyBank, string $amount, public ?TransactionJournal $transactionJournal, public ?TransactionGroup $transactionGroup)
|
||||
{
|
||||
app('log')->debug(sprintf('Created piggy bank event for piggy bank #%d with amount %s', $piggyBank->id, $amount));
|
||||
$this->piggyBank = $piggyBank;
|
||||
$this->amount = $amount;
|
||||
$this->piggyBank = $piggyBank;
|
||||
$this->amount = $amount;
|
||||
}
|
||||
}
|
||||
|
@@ -38,7 +38,5 @@ class RegisteredUser extends Event
|
||||
/**
|
||||
* Create a new event instance. This event is triggered when a new user registers.
|
||||
*/
|
||||
public function __construct(public OwnerNotifiable $owner, public User $user)
|
||||
{
|
||||
}
|
||||
public function __construct(public OwnerNotifiable $owner, public User $user) {}
|
||||
}
|
||||
|
@@ -38,7 +38,5 @@ 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.
|
||||
*/
|
||||
public function __construct(public User $user)
|
||||
{
|
||||
}
|
||||
public function __construct(public User $user) {}
|
||||
}
|
||||
|
@@ -30,7 +30,5 @@ class UnknownUserAttemptedLogin
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
public function __construct(public string $address)
|
||||
{
|
||||
}
|
||||
public function __construct(public string $address) {}
|
||||
}
|
||||
|
@@ -37,7 +37,5 @@ class StoredAccount extends Event
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*/
|
||||
public function __construct(public Account $account)
|
||||
{
|
||||
}
|
||||
public function __construct(public Account $account) {}
|
||||
}
|
||||
|
@@ -37,7 +37,5 @@ class StoredTransactionGroup extends Event
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*/
|
||||
public function __construct(public TransactionGroup $transactionGroup, public bool $applyRules, public bool $fireWebhooks)
|
||||
{
|
||||
}
|
||||
public function __construct(public TransactionGroup $transactionGroup, public bool $applyRules, public bool $fireWebhooks) {}
|
||||
}
|
||||
|
@@ -39,7 +39,5 @@ class TriggeredAuditLog extends Event
|
||||
*
|
||||
* @SuppressWarnings("PHPMD.ExcessiveParameterList")
|
||||
*/
|
||||
public function __construct(public Model $changer, public Model $auditable, public string $field, public mixed $before, public mixed $after)
|
||||
{
|
||||
}
|
||||
public function __construct(public Model $changer, public Model $auditable, public string $field, public mixed $before, public mixed $after) {}
|
||||
}
|
||||
|
@@ -37,7 +37,5 @@ class UpdatedAccount extends Event
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*/
|
||||
public function __construct(public Account $account)
|
||||
{
|
||||
}
|
||||
public function __construct(public Account $account) {}
|
||||
}
|
||||
|
@@ -37,7 +37,5 @@ class UpdatedTransactionGroup extends Event
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*/
|
||||
public function __construct(public TransactionGroup $transactionGroup, public bool $applyRules, public bool $fireWebhooks)
|
||||
{
|
||||
}
|
||||
public function __construct(public TransactionGroup $transactionGroup, public bool $applyRules, public bool $fireWebhooks) {}
|
||||
}
|
||||
|
@@ -37,7 +37,5 @@ class UserChangedEmail extends Event
|
||||
/**
|
||||
* UserChangedEmail constructor.
|
||||
*/
|
||||
public function __construct(public User $user, public string $newEmail, public string $oldEmail)
|
||||
{
|
||||
}
|
||||
public function __construct(public User $user, public string $newEmail, public string $oldEmail) {}
|
||||
}
|
||||
|
@@ -34,7 +34,5 @@ class WarnUserAboutBill extends Event
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
public function __construct(public Bill $bill, public string $field, public int $diff)
|
||||
{
|
||||
}
|
||||
public function __construct(public Bill $bill, public string $field, public int $diff) {}
|
||||
}
|
||||
|
Reference in New Issue
Block a user