phpvms/app/Events/UserStatsChanged.php
Arthur Parienté 992b6d343a
[8.x] feature: upgrade to Laravel 13 (#2204)
* upgrade to laravel 13

* phpstan

* rollback to symfony 7.4

* fix: ModuleService merge

* refactor: new rector rules
2026-05-06 11:27:21 -05:00

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) {}
}