Review main Merged

55424[TASK] Specific exception in ArrayUtility::removeByPath()

Christian Kuhn CR +2 V +2 Easy +20 −2 updated 01/23/18, 17:05

Commit message

Similar to getValueByPath(), removeByPath() now throws
a specific exception if the path to remove does not
exist in given array to avoid catching global \RuntimeException'
in consuming code.
The same "MissingArrayPathException" is used here since
both cases have identical semantic.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 3