File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/code/Magento/Security/Model
ResourceModel/UserExpiration Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,10 @@ public function addUserIdsFilter(array $userIds = []): Collection
64
64
/**
65
65
* Get any expired records for the given user.
66
66
*
67
- * @param string $userId
67
+ * @param int $userId
68
68
* @return Collection
69
69
*/
70
- public function addExpiredRecordsForUserFilter (string $ userId ): Collection
70
+ public function addExpiredRecordsForUserFilter (int $ userId ): Collection
71
71
{
72
72
return $ this ->addActiveExpiredUsersFilter ()
73
73
->addFieldToFilter ('main_table.user_id ' , (int )$ userId );
Original file line number Diff line number Diff line change @@ -133,10 +133,10 @@ private function processExpiredUsers(ExpiredUsersCollection $expiredRecords): vo
133
133
/**
134
134
* Check if the given user is expired.
135
135
*
136
- * @param string $userId
136
+ * @param int $userId
137
137
* @return bool
138
138
*/
139
- public function isUserExpired (string $ userId ): bool
139
+ public function isUserExpired (int $ userId ): bool
140
140
{
141
141
$ isExpired = false ;
142
142
/** @var \Magento\Security\Api\Data\UserExpirationInterface $expiredRecord */
You can’t perform that action at this time.
0 commit comments