mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-15 18:24:56 +02:00
Update Twig to v2.15.4
This commit is contained in:
@@ -18,11 +18,13 @@ use Twig\Compiler;
|
||||
*
|
||||
* It removes spaces between HTML tags.
|
||||
*
|
||||
* @deprecated since Twig 2.7, to be removed in 3.0
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*/
|
||||
class SpacelessNode extends Node
|
||||
class SpacelessNode extends Node implements NodeOutputInterface
|
||||
{
|
||||
public function __construct(\Twig_NodeInterface $body, $lineno, $tag = 'spaceless')
|
||||
public function __construct(Node $body, int $lineno, string $tag = 'spaceless')
|
||||
{
|
||||
parent::__construct(['body' => $body], [], $lineno, $tag);
|
||||
}
|
||||
|
Reference in New Issue
Block a user