Browse Source

Updated readme

Joachim M. Giæver 4 years ago
parent
commit
76be0e29a2
2 changed files with 8 additions and 4 deletions
  1. 4 2
      README.md
  2. 4 2
      src/Yr/Forecast/Location.php

+ 4 - 2
README.md

@@ -263,11 +263,13 @@ Returns: [ateTimeZone](https://www.google.no/search?q=DateTimeZone)
 public function getGeoData();
 ```
  Returns the geodata, in the format
-```[
+```
+[
      'lat' => (float),
      'lng' => (float),
      'alt' => (float),
-]```
+]
+```
 
 
 Returns: array

+ 4 - 2
src/Yr/Forecast/Location.php

@@ -68,11 +68,13 @@ final class Location {
 
     /**
      * Returns the geodata, in the format
-     * ```[
+     * ```
+     * [
      *      'lat' => (float),
      *      'lng' => (float),
      *      'alt' => (float),
-     * ]```
+     * ]
+     * ```
      *
      * @return array
      */