add missing parentheses to deprecation message

This commit is contained in:
Christian Flothmann
2025-01-24 20:59:56 +01:00
committed by GitHub
parent 939c0324c7
commit 431697fc05
+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;
}