-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Twig to version 3.15.0. Remove enum extension.
- Loading branch information
1 parent
07213bd
commit dbec91f
Showing
20 changed files
with
107 additions
and
190 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
/* | ||
* This file is part of the Calculation package. | ||
* | ||
* (c) bibi.nu <bibi@bibi.nu> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Twig\Node; | ||
|
||
use Twig\Attribute\YieldReady; | ||
use Twig\Node\Node; | ||
use Twig\Node\Nodes; | ||
|
||
/** | ||
* Class CaseNode. | ||
*/ | ||
#[YieldReady] | ||
class CaseNode extends Node | ||
{ | ||
/** | ||
* @param Node[] $values | ||
*/ | ||
public function __construct(array $values, Node $body) | ||
{ | ||
parent::__construct([ | ||
'values' => new Nodes($values), | ||
'body' => $body, | ||
]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.