Review main Merged

78258[BUGFIX] Correct signature in ArrayUtility::isValidPath

Thomas Hohn CR +2 V +2 Easy +20 −4 updated 03/27/23, 05:28

Commit message

In #97202 types for the class ArrayUtility were added.
Unfortunately the second parameter ($path) for the method
isValidPath was changed to string only.
The method basically calls getValueByPath, which has
$path defined as array|string and handles it properly.
It makes no sense, not to be able to call isValidPath
with the same types for the $path argument.

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 1

Files 2