mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 06:31:22 +00:00
Update code to use php 8.4 code, using Nestor.
This commit is contained in:
@@ -34,14 +34,7 @@ class WarnUserAboutBill extends Event
|
||||
{
|
||||
use SerializesModels;
|
||||
|
||||
public Bill $bill;
|
||||
public int $diff;
|
||||
public string $field;
|
||||
|
||||
public function __construct(Bill $bill, string $field, int $diff)
|
||||
public function __construct(public Bill $bill, public string $field, public int $diff)
|
||||
{
|
||||
$this->bill = $bill;
|
||||
$this->field = $field;
|
||||
$this->diff = $diff;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user