From 2e0e04f70105ccabc174b58cf022ca6ac22fd0a3 Mon Sep 17 00:00:00 2001 From: Andrew Aitken-Fincham Date: Fri, 12 Jun 2020 01:38:24 +0100 Subject: [PATCH] fix deprecation notices --- src/View/SSViewer_BasicIteratorSupport.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/View/SSViewer_BasicIteratorSupport.php b/src/View/SSViewer_BasicIteratorSupport.php index ae783d2d4..4425326b0 100644 --- a/src/View/SSViewer_BasicIteratorSupport.php +++ b/src/View/SSViewer_BasicIteratorSupport.php @@ -67,12 +67,12 @@ class SSViewer_BasicIteratorSupport implements TemplateIteratorProvider } /** - * @deprecated + * @deprecated 4.7.0 Use isFirst() to avoid clashes with SS_Lists * @return bool */ public function First() { - Deprecation::notice("5.0.0 please use isFirst() to avoid clashes with SS_Lists"); + Deprecation::notice('4.7.0', 'Use isFirst() to avoid clashes with SS_Lists'); return $this->isFirst(); } @@ -87,12 +87,12 @@ class SSViewer_BasicIteratorSupport implements TemplateIteratorProvider } /** - * @deprecated + * @deprecated 4.7.0 Use isLast() to avoid clashes with SS_Lists * @return bool */ public function Last() { - Deprecation::notice("5.0.0 please use isLast() to avoid clashes with SS_Lists"); + Deprecation::notice('4.7.0', 'Use isLast() to avoid clashes with SS_Lists'); return $this->isLast(); }