Change FileUrlGenerator to extend rather than implement

Created on 28 June 2024, 10 months ago

Proposed resolution

Summary of Changes
Change the class definition from implements FileUrlGeneratorInterface to extends FileUrlGenerator.
Ensure the constructor calls the parent constructor with parent::__construct($request_stack);.
By making these changes, it ensures that the class correctly extends FileUrlGenerator, resolving the type errors when other modules expect an instance of FileUrlGenerator.

🐛 Bug report
Status

Active

Version

1.0

Component

Twig

Created by

🇬🇧United Kingdom georgebrook

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024