Skip to content

ArrayExtension does not preserve keys #6

@mecha

Description

@mecha

The ArrayExtension extension class' behavior changed in 0f9ad94, when the resolution of dependencies was extracted into a trait.

Previously, the resolution involved a simple array_map (source here).

After 0f9ad94, ArrayExtension used the newly extracted resolveKeys() trait method, which specifically only returns array values (source here)

Therefore, in order to preserve the previous functionality, ArrayExtension should therefore use resolveDeps() to preserve the dependency array keys.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions