php-debugbar icon indicating copy to clipboard operation
php-debugbar copied to clipboard

Fix `$query['params']` can be "null"

Open erikn69 opened this issue 7 months ago • 0 comments

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.

erikn69 avatar Jul 18 '24 14:07 erikn69