diff --git a/src/View/ViewableData.php b/src/View/ViewableData.php index f5f19ec8c..fc5e63cc9 100644 --- a/src/View/ViewableData.php +++ b/src/View/ViewableData.php @@ -673,9 +673,13 @@ class ViewableData implements IteratorAggregate * 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; }