Skip to content

Commit

Permalink
[BUGFIX] Method getWindDirSection() is falsely protected
Browse files Browse the repository at this point in the history
Fixes #14
  • Loading branch information
Pascal Rinker committed Jul 4, 2019
1 parent 5988f05 commit 2ae8808
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/Domain/Model/CurrentWeather.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public function getWindDirectionDeg(): int
*
* @return float
*/
protected function getWindDirSection(): float
public function getWindDirSection(): float
{
return floor(fmod((($this->windDirectionDeg + 22.5) / 45), 8));
}
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'uploadfolder' => '0',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '2.0.1',
'version' => '2.0.2',
'constraints' => [
'depends' => [
'typo3' => '8.7.0-9.5.99',
Expand Down

0 comments on commit 2ae8808

Please sign in to comment.