Skip to content

Commit 56d598c

Browse files
committed
Don't use sprintf in trigger_deprecation() calls
1 parent fe52fb0 commit 56d598c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Exception/InvalidTokenConfigurationException.php

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

1212
namespace Symfony\Component\Workflow\Exception;
1313

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

1616
/**
1717
* Thrown by GuardListener when there is no token set, but guards are placed on a transition.

0 commit comments

Comments
 (0)