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.