public function mvUp(array &$array, string $path): void
    {
        // Build the path object
        $pathObject = new PropertyPath($path);

        // get the values to move one level up
        $values = $this->pa->getValue($array, $path);

        // Remove the key to move one level up
        $this->rm($array, $path);

        $parentPath = null === $pathObject->getParent() ? '[]' : $pathObject->getParent();

        // Get the values of the up level
        $parentValues = $this->getValue($array, $parentPath);

        $mergedArray = array_merge($this->forceArray($parentValues), $this->forceArray($values));

        $this->edit($array, $parentPath, $mergedArray);
    }