mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-03 05:56:43 +00:00
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:
+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