Merge pull request #10786 from michalkleiner/tweak-deprecation-suggestion
FIX Provide correct replacement suggestion in deprecation message
This commit is contained in:
commit
ffd0916922
|
@ -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