mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-30 20:16:45 +00:00
add missing parentheses to deprecation message
This commit is contained in:
committed by
GitHub
parent
939c0324c7
commit
431697fc05
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user