Collections Abstraction Library
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Collections Abstraction library
v1.6.1, fixes an issue where parsing annotations was not possible for classes within
v1.6.0introduced Psalm-specific annotations such as (for example)
@template-implements, which were both incorrectly recognized as
@templatehas therefore been removed, and instead we use the prefixed
@psalm-template, which is no longer parsed by
Total issues resolved: 1
@psalm-templateannotation to avoid clashes thanks to @muglug
This release bumps the minimum required PHP version to 7.1.3.
Following improvements were introduced:
ArrayCollection#filter()now allows filtering by key, value or both.
ClosureExpressionVisitorover objects with a defined accessor and property, the accessor is prioritised.
/** @var Collection */in their code, and leverage the type propagation deriving from that.
Total issues resolved: 16
ArrayCollection#filter()to filter by key, value or both thanks to @0x13a
ArrayCollection#filter()to filter by key and also value thanks to @0x13a
AbstractLazyCollection#$initializedprotected for extensibility
Comparison::IS, because it's only there for SQL semantics. These are fixed in the ORM instead.
Comparison::CONTAINSto perform partial string matches: