first(); if (!is_null($currency)) { return $currency; } throw new NotFoundHttpException; } }