src/Currency/Drivers/Database.php
public function all()
    {
        $collection = new Collection($this->database->table($this->config('table'))->get());

        return $collection->keyBy('currency_code')
                          ->map(function ($item) {

                              $format = $item->thousand_sign.'0'.$item->decimal_sign.str_repeat('0', $item->decimal_position);

                              return [
                                  'currency_id'     => $item->currency_id,
                                  'currency_name'   => $item->currency_name,
                                  'currency_code'   => strtoupper($item->currency_code),
                                  'currency_symbol' => $item->currency_symbol,
                                  'format'          => $item->symbol_position
                                      ? '1'.$format.$item->currency_symbol
                                      : $item->currency_symbol.'1'.$format,
                                  'currency_rate'   => $item->currency_rate,
                                  'currency_status' => $item->currency_status,
                                  'date_modified'   => $item->date_modified,
//                    'date_modified' => $item->date_modified,
                              ];
                          })
                          ->all();
    }
public function all()
    {
        $collection = new Collection($this->database->table($this->config('table'))->get());

        return $collection->keyBy('currency_code')
                          ->map(function ($item) {

                              $format = $item->thousand_sign.'0'.$item->decimal_sign.str_repeat('0', $item->decimal_position);

                              return [
                                  'currency_id'     => $item->currency_id,
                                  'currency_name'   => $item->currency_name,
                                  'currency_code'   => strtoupper($item->currency_code),
                                  'currency_symbol' => $item->currency_symbol,
                                  'format'          => $item->symbol_position
                                      ? '1'.$format.$item->currency_symbol
                                      : $item->currency_symbol.'1'.$format,
                                  'currency_rate'   => $item->currency_rate,
                                  'currency_status' => $item->currency_status,
                                  'date_modified'   => $item->date_modified,
//                    'date_modified' => $item->date_modified,
                              ];
                          })
                          ->all();
    }
{@inheritdoc}