Skip to content

Commit f527829

Browse files
Fix return type in Twig extension
1 parent 34bc262 commit f527829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Twig/Extension/ImageAssetsExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function getFilters(): array
4444
*
4545
* @return string The public path.
4646
*/
47-
public function asset(object $object, string $field): string
47+
public function asset(object $object, string $field): ?string
4848
{
4949
$params = func_get_args();
5050

0 commit comments

Comments
 (0)