Skip to content

Commit

Permalink
Merge pull request #10 from objective-php/fix/compatibilty
Browse files Browse the repository at this point in the history
fix return typing
  • Loading branch information
Neofox authored Sep 11, 2018
2 parents ed3b9d2 + 566da61 commit bb1f517
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MetaGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public function delete(EntityInterface ...$entities): bool
* @return bool
* @throws MetaGatewayException
*/
public function purge(ResultSetDescriptorInterface $descriptor): bool
public function purge(ResultSetDescriptorInterface $descriptor)
{
return $this->proxyWritingRequest(__FUNCTION__, [], $descriptor);
}
Expand All @@ -229,7 +229,7 @@ public function purge(ResultSetDescriptorInterface $descriptor): bool
* @return bool
* @throws MetaGatewayException
*/
protected function proxyWritingRequest(string $method, array $options = [], ...$parameters): bool
protected function proxyWritingRequest(string $method, array $options = [], ...$parameters)
{
$lastException = null;
$result = false;
Expand Down

0 comments on commit bb1f517

Please sign in to comment.