#85979PaginateViewHelper allows incompatible types for objects argument
Description
Was accidentally introduced by https://review.typo3.org/#/c/52784/
My question from the review:
Why did we allow $objects to be of type ObjectStorage or Array with this patch? The PaginateController calls ->getQuery() on $objects which neither of those two has.
Note the patch that introduced this bug was not backported to 8 yet.