You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: