InjectValueExtension::expand states its return value as string, but it returns the result of Helpers::expand which is mixed. This causes a TypeError when the value being injected is for e.g a number.
Proposed solution is to remove a return type definition (makes it match the Helpers::expand return type).
InjectValueExtension::expand states its return value as string, but it returns the result of Helpers::expand which is mixed. This causes a TypeError when the value being injected is for e.g a number. Proposed solution is to remove a return type definition (makes it match the Helpers::expand return type).