orm
orm copied to clipboard
[FIX] fix ClockworkLogger to work with custom types
Recently, I found that ClockworkLogger is not working correctly with custom types. It's caused because a lack of types passed to the formatter in src/Loggers/Clockwork/DoctrineDataSource.php.
Given query param is an instance of (...)ValueObject and could not be converted to a string
/vendor/laravel-doctrine/orm/src/Loggers/Formatters/ReplaceQueryParams.php:55
Changes proposed in this pull request:
- pass types to the formatter in src/Loggers/Clockwork/DoctrineDataSource.php