php: fetch: prices: crypto: use inherited doxygen
This commit is contained in:
@@ -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
|
* @return mixed Number of days since given year
|
||||||
*/
|
*/
|
||||||
protected function make_timestamp(string $year): mixed
|
protected function make_timestamp(string $year): mixed
|
||||||
@@ -190,11 +188,6 @@ namespace docker_finance\prices\internal\prices\crypto
|
|||||||
return $prices;
|
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
|
protected function parse_prices(array $prices): array
|
||||||
{
|
{
|
||||||
$stack = [];
|
$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
|
* @return mixed Unix timestamp in milliseconds
|
||||||
*/
|
*/
|
||||||
protected function make_timestamp(string $year): mixed
|
protected function make_timestamp(string $year): mixed
|
||||||
|
|||||||
Reference in New Issue
Block a user