From fa8f7984af4bd1645e938f98bbe2b0f75dcd62ca Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Thu, 19 Sep 2024 13:46:18 +1200 Subject: [PATCH] ENH Don't use deprecated method (#1329) --- code/UserForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/UserForm.php b/code/UserForm.php index 4858b0b..eeb470a 100644 --- a/code/UserForm.php +++ b/code/UserForm.php @@ -320,7 +320,7 @@ SQL; $config->addComponent(new BulkManager); } - Deprecation::withNoReplacement(function () use ($sort, $filter, $pagination) { + Deprecation::withSuppressedNotice(function () use ($sort, $filter, $pagination) { $sort->setThrowExceptionOnBadDataType(false); $filter->setThrowExceptionOnBadDataType(false); $pagination->setThrowExceptionOnBadDataType(false);