Commit 80f332b9 authored by efalcy's avatar efalcy

php5 compat

parent 846f9d1a
......@@ -57,7 +57,7 @@ class Geo extends Property
*
* @return Geo
*/
public static function fromString(string $geoLocationString)
public static function fromString($geoLocationString)
{
$geoLocationString = str_replace(',', ';', $geoLocationString);
$parts = explode(';', $geoLocationString);
......@@ -74,7 +74,7 @@ class Geo extends Property
*
* @return string
*/
public function getGeoLocationAsString(string $separator = ';')
public function getGeoLocationAsString($separator = ';')
{
return number_format($this->latitude, 6) . $separator . number_format($this->longitude, 6);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment