From 263f288e958e4ec1243370b1c533d81eeda85157 Mon Sep 17 00:00:00 2001 From: Arjay Angeles Date: Wed, 4 Oct 2023 11:12:21 +0800 Subject: [PATCH] fix: add Arrayable fix: Parameter #1 $value of method Yajra\DataTables\Html\Builder::searchPanes() expects array|bool|(callable(): mixed), Yajra\DataTables\Html\SearchPane given. --- src/Html/Options/Plugins/SearchPanes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Html/Options/Plugins/SearchPanes.php b/src/Html/Options/Plugins/SearchPanes.php index 0bc9e4a..754dc1e 100644 --- a/src/Html/Options/Plugins/SearchPanes.php +++ b/src/Html/Options/Plugins/SearchPanes.php @@ -16,7 +16,7 @@ trait SearchPanes /** * Set searchPane option value. * - * @param array|bool|callable $value + * @param array|Arrayable|bool|callable $value * @return $this * @see https://datatables.net/reference/option/searchPanes */