mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
Add PHP type hints for Laravel 10
This commit is contained in:
committed by
HolgerHatGarKeineNode
parent
ad55c69b51
commit
98a430c91c
@@ -23,7 +23,7 @@ class AddLoginReputation
|
||||
* @param object $event
|
||||
* @return void
|
||||
*/
|
||||
public function handle($event)
|
||||
public function handle(object $event): void
|
||||
{
|
||||
$event->user->givePoint(new LoggedIn($event->user));
|
||||
event(new PlebLoggedInEvent($event->user->name, $event->user->profile_photo_url));
|
||||
|
||||
Reference in New Issue
Block a user