Change record status: 
Project: 
Introduced in branch: 
4.0.x
Introduced in version: 
4.0.0-alpha1
Description: 
  • GroupInterface::getMembers()
  • GroupMembershipInterface::loadByGroup()
  • GroupMembershipInterface::loadByUser()

All took a $roles parameter which could either be a string or an array. If it was a string it got converted into an array for you.

To reduce type juggling, this has been converted into an array. Passing a string is no longer allowed.

Impacts: 
Module developers