Added array type hinting too getGroupPermissions()