src/Currency/Drivers/Database.php
public function update($code, array $attributes, DateTime $timestamp = null)
    {
        $table = $this->config('table');

        // Create timestamp
        if (empty($attributes['date_modified']) === TRUE) {
            $attributes['date_modified'] = new DateTime('now');
        }

        return $this->database->table($table)
                              ->where('currency_code', strtoupper($code))
                              ->update($attributes);
    }
public function update($code, array $attributes, DateTime $timestamp = null)
    {
        $table = $this->config('table');

        // Create timestamp
        if (empty($attributes['date_modified']) === TRUE) {
            $attributes['date_modified'] = new DateTime('now');
        }

        return $this->database->table($table)
                              ->where('currency_code', strtoupper($code))
                              ->update($attributes);
    }
{@inheritdoc}