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

[stable26] fix(UpdateNotifications): Handle numeric user ids #44100

Merged
merged 1 commit into from Mar 9, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Mar 8, 2024

Backport of PR #44095

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

Signed-off-by: Josh <josh.t.richards@gmail.com>
@@ -113,7 +113,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
@@ -181,7 +181,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
@SystemKeeper SystemKeeper changed the title [stable26] [stable28] fix(UpdateNotifications): Handle numeric user ids [stable26] fix(UpdateNotifications): Handle numeric user ids Mar 8, 2024
@susnux susnux merged commit e141a41 into stable26 Mar 9, 2024
37 checks passed
@susnux susnux deleted the backport/44095/stable26 branch March 9, 2024 01:35
@Altahrim Altahrim mentioned this pull request Mar 21, 2024
7 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.

None yet

3 participants