Skip to content

Conversation

@tarecord
Copy link
Contributor

undot() would always return an empty array when in fact it is supposed to expand dot-notation arrays back out into their nested originals:

$dot = [
    'one.two' => 3
];

// Becomes

$undot = [
  'one' => [
    'two' => 3,
  ],
];

@tarecord tarecord requested a review from borkweb June 11, 2024 17:48
@tarecord tarecord self-assigned this Jun 11, 2024
@tarecord tarecord merged commit fc2199a into main Jun 12, 2024
@tarecord tarecord deleted the bugfix/undot branch June 12, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants