@@ -42,6 +42,9 @@ |
||
| 42 | 42 | unset($this->formats[$code]); |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | + /** |
|
| 46 | + * @param string $code |
|
| 47 | + */ |
|
| 45 | 48 | public function getFormat($code) |
| 46 | 49 | { |
| 47 | 50 | if (isset($this->formats[$code])) { |
@@ -44,6 +44,9 @@ |
||
| 44 | 44 | return $currencies; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param string $format |
|
| 49 | + */ |
|
| 47 | 50 | protected function setDate($format, $value) |
| 48 | 51 | { |
| 49 | 52 | $this->date = DateTime::createFromFormat($format, $value); |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | 67 | * @param string $hour |
| 68 | - * @return Storage |
|
| 68 | + * @return Cache |
|
| 69 | 69 | */ |
| 70 | 70 | public function setRefresh($hour) |
| 71 | 71 | { |