Type hinting on cleanUpInvalidRecords & filterViewableUnapprovedItems are inconsistent with out methods

Xon

Well-known member
Affected version
2.3.6
filterViewableUnapprovedItems should be type hinting AbstractCollection<ApprovalQueue> not ArrayCollection

cleanUpInvalidRecords should be hinted as AbstractCollection<ApprovalQueue>. This will throw some type conflicts with the current array type hint, so maybe adding AbstractCollection<ApprovalQueue>|ApprovalQueue[] or using iterable<ApprovalQueue>
 
Back
Top Bottom