From 9581025e6c1d6093153e6c1a54b6e7505ba81caa Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Fri, 17 May 2024 14:20:55 +1200 Subject: [PATCH] API Deprecate ViewableData::Me() --- src/View/ViewableData.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/View/ViewableData.php b/src/View/ViewableData.php index f5f19ec8c0f..fc5e63cc951 100644 --- a/src/View/ViewableData.php +++ b/src/View/ViewableData.php @@ -673,9 +673,13 @@ public function getViewerTemplates($suffix = '') * access to itself. * * @return ViewableData + * @deprecated 5.3.0 Will be replaced with special handling in templates. */ public function Me() { + Deprecation::withNoReplacement( + fn () => Deprecation::notice('5.3.0', 'Will be replaced with special handling in templates.') + ); return $this; }