Skip to content

Commit 30841d3

Browse files
committed
Don't use sprintf in trigger_deprecation() calls
1 parent 18cf248 commit 30841d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Session/Attribute/NamespacedAttributeBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Component\HttpFoundation\Session\Attribute;
1313

14-
trigger_deprecation('symfony/http-foundation', '5.3', sprintf('The "%s" class is deprecated.', NamespacedAttributeBag::class));
14+
trigger_deprecation('symfony/http-foundation', '5.3', 'The "%s" class is deprecated.', NamespacedAttributeBag::class);
1515

1616
/**
1717
* This class provides structured storage of session attributes using

0 commit comments

Comments
 (0)