mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 21:23:36 +00:00
Update code to use php 8.4 code, using Nestor.
This commit is contained in:
@@ -32,15 +32,13 @@ class UserTestNotificationChannel
|
||||
use SerializesModels;
|
||||
|
||||
public string $channel;
|
||||
public User $user;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*/
|
||||
public function __construct(string $channel, User $user)
|
||||
public function __construct(string $channel, public User $user)
|
||||
{
|
||||
app('log')->debug(sprintf('Triggered UserTestNotificationChannel("%s")', $channel));
|
||||
$this->user = $user;
|
||||
$this->channel = $channel;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user