Add Parser typehint

This commit is contained in:
Ruud Kamphuis
2019-04-26 10:18:34 +02:00
committed by Fabien Potencier
parent 6d6fe61629
commit 9ead7df1c0
+3
View File
@@ -20,6 +20,9 @@ use Twig\Parser;
*/
abstract class AbstractTokenParser implements TokenParserInterface
{
/**
* @var Parser
*/
protected $parser;
public function setParser(Parser $parser)