mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-10 04:59:30 +00:00
Fixed code for symfony 7
This commit is contained in:
parent
9eb825f89a
commit
7e6b931db4
6 changed files with 20 additions and 19 deletions
|
|
@ -34,8 +34,11 @@ use Twig\TwigTest;
|
|||
*/
|
||||
final class TwigCoreExtension extends AbstractExtension
|
||||
{
|
||||
public function __construct(protected ObjectNormalizer $objectNormalizer)
|
||||
private readonly ObjectNormalizer $objectNormalizer;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->objectNormalizer = new ObjectNormalizer();
|
||||
}
|
||||
|
||||
public function getFunctions(): array
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue