diff --git a/modules/default/weather/weatherobject.js b/modules/default/weather/weatherobject.js index 0e57bfca..08b79fef 100755 --- a/modules/default/weather/weatherobject.js +++ b/modules/default/weather/weatherobject.js @@ -126,7 +126,7 @@ class WeatherObject { /** * Checks if the weatherObject is at dayTime. * - * @return {boolean} true if it is at dayTime + * @returns {boolean} true if it is at dayTime */ isDayTime() { return this.date.isBetween(this.sunrise, this.sunset, undefined, "[]"); @@ -150,7 +150,7 @@ class WeatherObject { /** * Clone to simple object to prevent mutating and deprecated legacy library. * - * @return {object} simple object cloned. + * @returns {object} simple object cloned. */ simpleClone() { const toFlat = ["date", "sunrise", "sunset"];