Update code to use php 8.4 code, using Nestor.

This commit is contained in:
James Cole
2025-05-04 12:57:14 +02:00
parent 042e2ba97d
commit abd9260193
79 changed files with 120 additions and 261 deletions

View File

@@ -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;
}
}