From 81dcd00d729a7c400af852f825e07cbb6c4dece7 Mon Sep 17 00:00:00 2001 From: marco76tv Date: Mon, 5 Feb 2024 14:52:09 +0100 Subject: [PATCH] Fix view exception in Block.php --- View/Components/Render/Block.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/View/Components/Render/Block.php b/View/Components/Render/Block.php index 5afd312c..ec3053c5 100644 --- a/View/Components/Render/Block.php +++ b/View/Components/Render/Block.php @@ -38,11 +38,7 @@ public function render(): \Illuminate\Contracts\View\Factory|\Illuminate\View\Vi */ $view = Arr::first($views, static fn (string $view) => view()->exists($view)); if (null === $view) { -<<<<<<< HEAD throw new \Exception('none of these views exists ['.implode(', '.chr(13), $views).']'); -======= - throw new Exception('none of these views exists ['.implode(', '.chr(13),$views).']'); ->>>>>>> 7339779 (up) } $view_params = $this->block['data'] ?? [];