minor #4555 add missing parentheses to deprecation message (xabbuh)

This PR was merged into the 3.x branch.

Discussion
----------

add missing parentheses to deprecation message

Commits
-------

431697fc05 add missing parentheses to deprecation message
This commit is contained in:
Fabien Potencier
2025-01-24 21:36:20 +01:00
+1 -1
View File
@@ -80,7 +80,7 @@ final class Token
*/
public function getType(): int
{
trigger_deprecation('twig/twig', '3.19', sprintf('The "%s" method is deprecated.', __METHOD__));
trigger_deprecation('twig/twig', '3.19', sprintf('The "%s()" method is deprecated.', __METHOD__));
return $this->type;
}