From 566da6105b1e19626d7174913409d13cfff3d961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schaeffer?= Date: Tue, 11 Sep 2018 15:02:10 +0200 Subject: [PATCH] fix return typing --- src/MetaGateway.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MetaGateway.php b/src/MetaGateway.php index 84c0ea5..65b803d 100644 --- a/src/MetaGateway.php +++ b/src/MetaGateway.php @@ -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); } @@ -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;