Wikimedia

EchoNewsletterUserLocator: Return type for locateNewsletterSubscribedUsers function to be changed

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.

Task tags

  • php
  • newsletter

Students who completed this task

Filip

Task type

  • code Code
close

2016