mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-27 14:16:08 +00:00
added some type hints on constructors
This commit is contained in:
@@ -22,7 +22,7 @@ use Twig\Node\Node;
|
||||
*/
|
||||
class BlockReferenceExpression extends AbstractExpression
|
||||
{
|
||||
public function __construct(Node $name, Node $template = null, $lineno, $tag = null)
|
||||
public function __construct(Node $name, Node $template = null, int $lineno, string $tag = null)
|
||||
{
|
||||
$nodes = ['name' => $name];
|
||||
if (null !== $template) {
|
||||
|
||||
Reference in New Issue
Block a user