From bad86c824143a0d20bfc3311f7135d9997a9ee65 Mon Sep 17 00:00:00 2001 From: Justin <2125752+justindantzer@users.noreply.github.com> Date: Thu, 4 May 2023 22:10:18 -0400 Subject: [PATCH] Update ExportToExcel to match Nova4 Action class Fixes an error using this package with Nova 4. The function can be removed, as it is identical to the base Action class function. --- src/Actions/ExportToExcel.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Actions/ExportToExcel.php b/src/Actions/ExportToExcel.php index f67da99..cebff68 100644 --- a/src/Actions/ExportToExcel.php +++ b/src/Actions/ExportToExcel.php @@ -140,17 +140,6 @@ public function onFailure(callable $callback) return $this; } - /** - * @param string $name - * @return $this - */ - public function withName(string $name) - { - $this->name = $name; - - return $this; - } - /** * @return Builder */