Update deprecation notice to 5.0.0

Co-authored-by: Robbie Averill <robbie@averill.co.nz>
This commit is contained in:
Andrew Aitken-Fincham 2020-06-18 21:40:20 +01:00 committed by GitHub
parent 34f660a311
commit 09dca5fa9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ class SSViewer_BasicIteratorSupport implements TemplateIteratorProvider
} }
/** /**
* @deprecated 5.0 Use IsFirst() to avoid clashes with SS_Lists * @deprecated 5.0.0 Use IsFirst() to avoid clashes with SS_Lists
* @return bool * @return bool
*/ */
public function First() public function First()
@ -87,12 +87,12 @@ class SSViewer_BasicIteratorSupport implements TemplateIteratorProvider
} }
/** /**
* @deprecated 5.0 Use IsLast() to avoid clashes with SS_Lists * @deprecated 5.0.0 Use IsLast() to avoid clashes with SS_Lists
* @return bool * @return bool
*/ */
public function Last() public function Last()
{ {
Deprecation::notice('5.0', 'Use IsLast() to avoid clashes with SS_Lists'); Deprecation::notice('5.0.0', 'Use IsLast() to avoid clashes with SS_Lists');
return $this->IsLast(); return $this->IsLast();
} }