Page MenuHomePhabricator

EchoNewsletterUserLocator: Return type for locateNewsletterSubscribedUsers function to be changed
Closed, ResolvedPublic

Description

This task requires you to install Newsletter extension.

The return value is expected to be an array of Users[] but currently, it returns UserArray::newFromIDs( $newsletter->getSubscribers() ). Return value type is not compatible to what has been declared. Hence it needs to be changed.

Event Timeline

Change 329686 had a related patch set uploaded (by Filip):
Updated docs in EchoNewsletterUserLocator

https://gerrit.wikimedia.org/r/329686

Change 329686 merged by jenkins-bot:
Updated docs in EchoNewsletterUserLocator

https://gerrit.wikimedia.org/r/329686

Nice work, Thank you!