Skip to content

Commit a416f85

Browse files
tobias-93bobvandevijver
authored andcommitted
Fix one more nullable typing causing a deprecation in PHP 8.4
1 parent 0b03d3e commit a416f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Twig/Extension/EchoExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function getEchoTrans(string $str, array $parameters = [], string $catalo
120120
/**
121121
* Print "echo tag with path call" to the path $path with params $params.
122122
*/
123-
public function getEchoPath(string $path, string $params = null, array|string|null $filters = null): string
123+
public function getEchoPath(string $path, ?string $params = null, array|string|null $filters = null): string
124124
{
125125
if (null === $params) {
126126
return (null === $filters)

0 commit comments

Comments
 (0)