-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
- Improve type hints by using Union Types or mixed where appropriate in the code base.
- Run ./vendor/bin/psalm --show-info=true to get suggestions for where more type-hints are needed
- Rather than returning instances of CollectionInterface in methods in \VersatileCollections\CollectionInterface try returning static
- Try to see if constructors can be refactored so that we can do stuff like __construct(mixed ...$items) in GenericCollection & __construct(int ...$items) in IntsCollection, etc. If it works, we can get rid of the check type code in specialized collections
Metadata
Metadata
Assignees
Labels
No labels