mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 16:13:54 +00:00
Update code to use php 8.4 code, using Nestor.
This commit is contained in:
@@ -39,17 +39,12 @@ class RequestedReportOnJournals
|
||||
use InteractsWithSockets;
|
||||
use SerializesModels;
|
||||
|
||||
public Collection $groups;
|
||||
public int $userId;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*/
|
||||
public function __construct(int $userId, Collection $groups)
|
||||
public function __construct(public int $userId, public Collection $groups)
|
||||
{
|
||||
app('log')->debug('In event RequestedReportOnJournals.');
|
||||
$this->userId = $userId;
|
||||
$this->groups = $groups;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user