php-debugbar
php-debugbar copied to clipboard
Fix `$query['params']` can be "null"
Closes #662
error in the DoctrineCollector. For some reason, the value of $query['params'] can be "null". The query who triggered this in my case was a "START TRANSACTION" with no others parameters. Because of that the foreach loop in that function fails with a "foreach() argument must be of type array|object, null given" error.