Version: 3.2.0
Bug Description
"Object of class DateTimeImmutable could not be converted to string" after update to 3.2.0.
I think, that exception is thrown here: https://github.com/nette/di/blob/v3.2.0/src/DI/Config/Adapters/NeonAdapter.php#L214
Steps To Reproduce
config.neon
parameters:
demand:
sendAvailableFromDate: 2024-01-03 10:00:00
Expected Behavior
Configuration parameter "sendAvailableFromDate" as DateTimeImmutable object.