* upgrade to laravel 13 * phpstan * rollback to symfony 7.4 * fix: ModuleService merge * refactor: new rector rules
20 lines
370 B
PHP
20 lines
370 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Contracts\Event;
|
|
use App\Models\User;
|
|
|
|
class UserStatsChanged extends Event
|
|
{
|
|
/*
|
|
* When a user's stats change. Stats changed match the field name:
|
|
* airport
|
|
* flights
|
|
* rank
|
|
*/
|
|
public function __construct(public User $user, public $stat_name, public $old_value) {}
|
|
}
|