mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Update deprecation notice to 5.0.0
Co-authored-by: Robbie Averill <robbie@averill.co.nz>
This commit is contained in:
parent
34f660a311
commit
09dca5fa9e
@ -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
|
||||
*/
|
||||
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
|
||||
*/
|
||||
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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user