@@ -51,6 +51,9 @@ discard block |
||
| 51 | 51 | return $response->withBody(Psr7\stream_for($content)); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | + /** |
|
| 55 | + * @param string $format |
|
| 56 | + */ |
|
| 54 | 57 | private function currentWeather($format) |
| 55 | 58 | { |
| 56 | 59 | if ($format == 'xml') { |
@@ -58,6 +61,9 @@ discard block |
||
| 58 | 61 | } |
| 59 | 62 | } |
| 60 | 63 | |
| 64 | + /** |
|
| 65 | + * @param string $format |
|
| 66 | + */ |
|
| 61 | 67 | private function forecast($format) |
| 62 | 68 | { |
| 63 | 69 | if ($format == 'xml') { |
@@ -65,6 +71,9 @@ discard block |
||
| 65 | 71 | } |
| 66 | 72 | } |
| 67 | 73 | |
| 74 | + /** |
|
| 75 | + * @param string $format |
|
| 76 | + */ |
|
| 68 | 77 | private function group($format) |
| 69 | 78 | { |
| 70 | 79 | if ($format == 'json') { |