Browse Source

Updated readme

Joachim M. Giæver 4 years ago
parent
commit
71cc21b6c8
2 changed files with 4 additions and 2 deletions
  1. 2 1
      README.md
  2. 2 1
      src/Yr/Forecast/Tabular.php

+ 2 - 1
README.md

@@ -372,7 +372,8 @@ $forcast->between(
  $forecast->getSunrise()->add(
  $forecast->getSunrise()->add(
      new \DateInterval('P1D')
      new \DateInterval('P1D')
  )
  )
-);```
+);
+```
 to only show from sunset today unti sunrise tomorrow
 to only show from sunset today unti sunrise tomorrow
 
 
 
 

+ 2 - 1
src/Yr/Forecast/Tabular.php

@@ -73,7 +73,8 @@ class Tabular implements \IteratorAggregate {
      *  $forecast->getSunrise()->add(
      *  $forecast->getSunrise()->add(
      *      new \DateInterval('P1D')
      *      new \DateInterval('P1D')
      *  )
      *  )
-     * );```
+     * );
+     * ```
      * to only show from sunset today unti sunrise tomorrow
      * to only show from sunset today unti sunrise tomorrow
      *
      *
      * @return Tabular with new collection
      * @return Tabular with new collection