From fa764c72b4af4f7238f023195aaebeefa90fe1ab Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 30 May 2012 22:29:58 +1200 Subject: [PATCH] MINOR Using Deprecation::notice() for deprecated method in ViewableData --- view/ViewableData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/ViewableData.php b/view/ViewableData.php index b3e8b505c..3d6f1f83f 100644 --- a/view/ViewableData.php +++ b/view/ViewableData.php @@ -227,7 +227,7 @@ class ViewableData extends Object implements IteratorAggregate { * @return array */ public function castingHelperPair($field) { - user_error("castingHelperPair() Deprecated, use castingHelper() instead", E_USER_NOTICE); + Deprecation::notice('2.5', 'use castingHelper() instead'); return $this->castingHelper($field); }