From 73424575d3d14abbbaba14e2d8c9ae28b4a387cb Mon Sep 17 00:00:00 2001 From: Oliver Green Date: Sun, 14 Apr 2024 21:23:17 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Properly=20reference=20\Exceptio?= =?UTF-8?q?n=20when=20trying=20to=20create=20index.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ElasticsearchEngine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ElasticsearchEngine.php b/src/ElasticsearchEngine.php index feda1c7..f08a0c2 100755 --- a/src/ElasticsearchEngine.php +++ b/src/ElasticsearchEngine.php @@ -282,7 +282,7 @@ public function lazyMap(Builder $builder, $results, $model) */ public function createIndex($name, array $options = []) { - throw new Exception('Database indexes are created automatically upon adding objects.'); + throw new \Exception('Database indexes are created automatically upon adding objects.'); } /**