FIX Provide correct replacement suggestion in deprecation message

This commit is contained in:
Michal Kleiner 2023-05-21 20:12:52 +12:00 committed by GitHub
parent 2256799916
commit f815a9cf2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}