瀏覽代碼

Updated readme

Joachim M. Giæver 5 年之前
父節點
當前提交
76be0e29a2
共有 2 個文件被更改,包括 8 次插入4 次删除
  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
      */