Skip to content

Commit

Permalink
Removed PHP 7 dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Janssen authored and Matt Janssen committed Dec 31, 2016
1 parent 1f29884 commit c9111af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Model/ApiResponseResponseModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function jsonSerialize(): array
/**
* {@inheritdoc}
*/
public function arraySerialize(array $group = []): array
public function arraySerialize(array $group = [])
{
return $this->jsonSerialize();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Serializer/Adapter/ArraySerializerAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ArraySerializerAdapter implements SerializerAdapterInterface
/**
* {@inheritdoc}
*/
public function serialize($data, array $groups = []): string
public function serialize($data, array $groups = [])
{
$jsonString = json_encode($this->serializedMixed($data, $groups));

Expand Down
2 changes: 1 addition & 1 deletion src/Serializer/ArraySerializable.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ interface ArraySerializable
* @param array $group
* @return string[]
*/
public function arraySerialize(array $group = []): array;
public function arraySerialize(array $group = []);
}

0 comments on commit c9111af

Please sign in to comment.