Skip to content

Commit 1f4177a

Browse files
committed
chore: updated README
1 parent 43a079d commit 1f4177a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $openWeatherMap = new OpenWeatherMap(
4747
);
4848

4949
// Get current weather by coordinate (latitude, longitude)
50-
$currentWeather = $openWeatherMap->getWeather()->getCurrent(50, 50);
50+
$currentWeather = $openWeatherMap->weather->getCurrent(50, 50);
5151
// Show current temperature
5252
echo $currentWeather->getTemperature();
5353
```

0 commit comments

Comments
 (0)