mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Added missing @deprecated tags
This PR just adds a couple of @deprecated tags where they were missing, where IDE's like PHPStorm immediately alert the user that it's deprecated.
This commit is contained in:
parent
f2c938a023
commit
9c836c0d3d
@ -25,6 +25,7 @@ trait Configurable
|
||||
/**
|
||||
* Get inherited config value
|
||||
*
|
||||
* @deprecated 5.0 Use ->config()->get() instead
|
||||
* @param string $name
|
||||
* @return mixed
|
||||
*/
|
||||
@ -48,6 +49,7 @@ trait Configurable
|
||||
/**
|
||||
* Update the config value for a given property
|
||||
*
|
||||
* @deprecated 5.0 Use ->config()->set() instead
|
||||
* @param string $name
|
||||
* @param mixed $value
|
||||
* @return $this
|
||||
|
Loading…
Reference in New Issue
Block a user