Return type fixes

This commit is contained in:
Dennis Eichhorn 2017-01-22 21:21:03 +01:00
parent 9ccdf2a5f2
commit 4233dc9be4
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ class Address implements \JsonSerializable
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function jsonSerialize(int $option = 0) : string public function jsonSerialize(int $option = 0)
{ {
return $this->toArray(); return $this->toArray();
} }

View File

@ -245,7 +245,7 @@ class Location implements \JsonSerializable, \Serializable
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function jsonSerialize() : string public function jsonSerialize()
{ {
return $this->toArray(); return $this->toArray();
} }