module/FzyCommon/src/FzyCommon/Service/Update/Base.php
protected function removeStringFromArray(&$list, $value)
    {
        $index = array_search($value, $list);
        if ($index !== false) {
            unset($list[$index]);
        }

        return $this;
    }
protected function removeStringFromArray(&$list, $value)
    {
        $index = array_search($value, $list);
        if ($index !== false) {
            unset($list[$index]);
        }

        return $this;
    }
Modify array to remove the specified value
@param $list
@param $value
@return $this