Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 8, 2016
1 parent 413cd0c commit 04f4b54
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -64,9 +64,8 @@ protected function _parseStd()
throw new Horde_Service_Weather_Exception('No forecast data to parse.');
}

foreach ($this->_properties as $period => $values) {
$period = new Horde_Service_Weather_Period_Owm($values, $this);
$this->_periods[] = $period;
foreach ($this->_properties as $values) {
$this->_periods[] = new Horde_Service_Weather_Period_Owm($values, $this);
}
}

Expand Down

0 comments on commit 04f4b54

Please sign in to comment.