php: fetch: prices: crypto: use inherited doxygen

This commit is contained in:
2024-06-17 22:50:06 -07:00
parent b2f59764fc
commit cb7eb80cb5

View File

@@ -120,8 +120,6 @@ namespace docker_finance\prices\internal\prices\crypto
}
/**
* @brief Make CoinGecko timestamp used in request
* @param string $year Given year
* @return mixed Number of days since given year
*/
protected function make_timestamp(string $year): mixed
@@ -190,11 +188,6 @@ namespace docker_finance\prices\internal\prices\crypto
return $prices;
}
/**
* @brief Parse fetched date and prices
* @param array<mixed> $prices Fetched prices [N]([timestamp][price])for given year(s)
* @return array<string> Date and prices without ID or ticker
*/
protected function parse_prices(array $prices): array
{
$stack = [];
@@ -213,8 +206,6 @@ namespace docker_finance\prices\internal\prices\crypto
}
/**
* @brief Make Mobula timestamp used in request
* @param string $year Given year
* @return mixed Unix timestamp in milliseconds
*/
protected function make_timestamp(string $year): mixed