Skip to content

Commit fe69e01

Browse files
committed
cs fix.
1 parent 5f98398 commit fe69e01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cmfcmf/OpenWeatherMap/Util/Unit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ public function getDescription()
121121
public function getFormatted()
122122
{
123123
if ($this->getUnit() != "") {
124-
return "{$this->getValue()} {$this->getUnit()}";
124+
return $this->getValue() . " " . $this->getUnit();
125125
} else {
126-
return "{$this->getValue()}";
126+
return (string)$this->getValue();
127127
}
128128
}
129129
}

0 commit comments

Comments
 (0)