From adc5c8c78b5cbd3426bf62e9d596e9b72d07bbe3 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 a6e0273b5..54fa56cc9 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/Restore.php +++ b/src/Elasticsearch/Endpoints/Snapshot/Restore.php @@ -35,7 +35,6 @@ class Restore extends AbstractEndpoint /** * @param array $body * - * @throws \Elasticsearch\Common\Exceptions\InvalidArgumentException * @return $this */ public function setBody($body)