Use typed property in UserLoggedIn event
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 8 Aug 2022 09:07:03 +0000 (11:07 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 8 Aug 2022 09:07:03 +0000 (11:07 +0200)
wcfsetup/install/files/lib/system/user/authentication/event/UserLoggedIn.class.php

index 637d8646ce5e8c50fd063479f1c6cb55d87c12f1..3438dbcc6ba2b5694d8581a2f4e941f7bb33f481 100644 (file)
@@ -22,10 +22,7 @@ use wcf\system\event\IEvent;
  */
 final class UserLoggedIn implements IEvent
 {
-    /**
-     * @var int
-     */
-    private $userID;
+    private int $userID;
 
     public function __construct(User $user)
     {