We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ffe2c7 commit 17b537bCopy full SHA for 17b537b
docs/docs/usage.md
@@ -47,7 +47,7 @@ echo $weather->temperature;
47
48
## `Unit` objects
49
50
-Most values like temperature, percipitation, etc., are returned as instances of the
+Most values like temperature, precipitation, etc., are returned as instances of the
51
`Cmfcmf\OpenWeatherMap\Util\Unit` class. These objects provide you with
52
the value (e.g., `26.9`),
53
the unit (e.g., `°C`),
@@ -62,7 +62,7 @@ $temperature = $weather->temperature->now;
62
$temperature->getValue(); // 26.9
63
$temperature->getUnit(); // "°C"
64
$temperature->getDescription(); // ""
65
-$temperature->getFormatteed(); // "26.9 °C"
+$temperature->getFormatted(); // "26.9 °C"
66
$temperature->__toString(); // "26.9 °C"
67
```
68
0 commit comments