Skip to content

Commit

Permalink
Merge pull request #892 from creative-commoners/pulls/7/suppress-depr…
Browse files Browse the repository at this point in the history
…ecation

ENH Use correct name for new suppression method
  • Loading branch information
emteknetnz authored Sep 19, 2024
2 parents fe20ba6 + 82dad3a commit b07c27c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Task/ConvertTranslatableTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ConvertTranslatableTask extends BuildTask
public function __construct()
{
parent::__construct();
Deprecation::withSuppressedWarning(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'7.3.0',
'Will be removed without equivalent functionality to replace it',
Expand Down
2 changes: 1 addition & 1 deletion src/Task/ConvertTranslatableTask/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Exception extends \Exception
public function __construct()
{
parent::__construct();
Deprecation::withSuppressedWarning(function () {
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'7.3.0',
'Will be removed without equivalent functionality to replace it',
Expand Down

0 comments on commit b07c27c

Please sign in to comment.