src/Subjects/AbstractCategorySubject.php
public function updateCategory($path, $category)
    {
        $this->categories[$path] = array_merge($this->categories[$path], $category);
    }
public function updateCategory($path, $category)
    {
        $this->categories[$path] = array_merge($this->categories[$path], $category);
    }
public function updateCategory ( $ path , $ category ) { $ this -> categories [ $ path ] = array_merge ( $ this -> categories [ $ path ] , $ category ) ; }
Updates the category with the passed path.

@param string $path     The path of the category to update
@param array  $category The category data to update

@return void
@deprecated Since 7.0.0
Updates the category with the passed path .