src/Database/Factory.php
protected function override(array $values, array $overrides)
    {
        if (count($overrides) === 0) {
            return $values;
        }

        foreach ($overrides as $key => $value) {
            $values[$key] = $overrides[$key];
        }

        return $values;
    }
protected function override(array $values, array $overrides)
    {
        if (count($overrides) === 0) {
            return $values;
        }

        foreach ($overrides as $key => $value) {
            $values[$key] = $overrides[$key];
        }

        return $values;
    }
Override array.

@param array $values
@param array $overrides
@return array