Skip to content

Commit

Permalink
ENH Use correct name for new suppression method
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Sep 18, 2024
1 parent fe20ba6 commit 82dad3a
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 82dad3a

Please sign in to comment.