Skip to content

Commit

Permalink
ENH Don't use deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Sep 18, 2024
1 parent 035b1de commit 15f264c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/ShareDraftContentRequirementsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ShareDraftContentRequirementsExtension extends DataExtension
{
public function __construct()
{
Deprecation::withNoReplacement(
Deprecation::withSuppressedNotice(
fn () => Deprecation::notice('5.3.0', 'Will be replaced with YAML configuration', Deprecation::SCOPE_CLASS)
);
parent::__construct();
Expand Down

0 comments on commit 15f264c

Please sign in to comment.