From f815a9cf2ab40921b1936b2ae76f21c89e793f7c Mon Sep 17 00:00:00 2001 From: Michal Kleiner Date: Sun, 21 May 2023 20:12:52 +1200 Subject: [PATCH] FIX Provide correct replacement suggestion in deprecation message --- src/Core/Config/Configurable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Config/Configurable.php b/src/Core/Config/Configurable.php index 6cc007bdb..8d96ef846 100644 --- a/src/Core/Config/Configurable.php +++ b/src/Core/Config/Configurable.php @@ -31,7 +31,7 @@ trait Configurable */ public function stat($name) { - Deprecation::notice('5.0', 'Use ->get'); + Deprecation::notice('5.0', 'Use ->config()->get()'); return $this->config()->get($name); }