mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Provide correct replacement suggestion in deprecation message
This commit is contained in:
parent
2256799916
commit
f815a9cf2a
@ -31,7 +31,7 @@ trait Configurable
|
||||
*/
|
||||
public function stat($name)
|
||||
{
|
||||
Deprecation::notice('5.0', 'Use ->get');
|
||||
Deprecation::notice('5.0', 'Use ->config()->get()');
|
||||
return $this->config()->get($name);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user