From a96bb9c2569a367cdf9da300e023d6d42717267b Mon Sep 17 00:00:00 2001 From: Ema Panz Date: Mon, 7 Jan 2019 18:50:16 +0000 Subject: [PATCH] Fix: Restore::setBody() does not throw exceptions (#828) --- src/Elasticsearch/Endpoints/Snapshot/Restore.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Elasticsearch/Endpoints/Snapshot/Restore.php b/src/Elasticsearch/Endpoints/Snapshot/Restore.php index 193d2031e..736b04dfa 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/Restore.php +++ b/src/Elasticsearch/Endpoints/Snapshot/Restore.php @@ -25,7 +25,6 @@ class Restore extends AbstractEndpoint /** * @param array $body * - * @throws \Elasticsearch\Common\Exceptions\InvalidArgumentException * @return $this */ public function setBody($body)