For that method, you're expected to return an array of as many items as you had objects passed in. I'd say that if you don't do that (either the array is nil or empty), you're in an error condition, since you're violating what the documentation says will happen:
An array containing the object IDs for the objects in array.
The returned array must return the object IDs in the same order as the objects appear in array