Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable28] fix(UpdateNotifications): Handle numeric user ids #44095

Merged

Conversation

joshtrichards
Copy link
Member

Summary

Manual backport of #44093 for <=v28. Same change just a different file since things got moved around in master.

Checklist

manual backport of #44093 to fix #44051 for <=v28

Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards
Copy link
Member Author

/backport to stable27

@joshtrichards
Copy link
Member Author

/backport to stable26

@@ -118,7 +118,7 @@
->setSubject('connection_error', ['days' => $numDays]);

foreach ($this->getUsersToNotify() as $uid) {
$notification->setUser($uid);
$notification->setUser((string) $uid);

Check notice

Code scanning / Psalm

RedundantCastGivenDocblockType Note

Redundant cast to string given docblock-provided type
@@ -186,7 +186,7 @@
}

foreach ($this->getUsersToNotify() as $uid) {
$notification->setUser($uid);
$notification->setUser((string) $uid);

Check notice

Code scanning / Psalm

RedundantCastGivenDocblockType Note

Redundant cast to string given docblock-provided type
@susnux susnux linked an issue Mar 8, 2024 that may be closed by this pull request
8 tasks
@nickvergessen nickvergessen merged commit 996f359 into stable28 Mar 8, 2024
53 checks passed
@nickvergessen nickvergessen deleted the fix/updatenotifications/numeric-ids-v28-and-lower branch March 8, 2024 22:14
@Altahrim Altahrim mentioned this pull request Mar 21, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Nummeric user id breaks updatenotifications
3 participants