- Affected version
- 2.3.6
filterViewableUnapprovedItems should be type hinting AbstractCollection<ApprovalQueue> not ArrayCollectioncleanUpInvalidRecords 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>