Skip to content

Commit

Permalink
Merge pull request #10786 from michalkleiner/tweak-deprecation-sugges…
Browse files Browse the repository at this point in the history
…tion

FIX Provide correct replacement suggestion in deprecation message
  • Loading branch information
GuySartorelli authored May 22, 2023
2 parents 2256799 + f815a9c commit ffd0916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Config/Configurable.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function config()
*/
public function stat($name)
{
Deprecation::notice('5.0', 'Use ->get');
Deprecation::notice('5.0', 'Use ->config()->get()');
return $this->config()->get($name);
}

Expand Down

0 comments on commit ffd0916

Please sign in to comment.