Jira issue originally created by user matt-button:
When binding an empty array as a parameter (and specifying a parameter type to work around DDC-1977) SQLParserUtils::expandListParameters tries to use array_fill to generate an empty array.
Pseudo-code that generated the bug:
$this->getEntityManager()->createNativeQuery($query, $rsm)->setParameter(1, array())->getArrayResult();
Comment created by @beberlei:
A related Github Pull-Request [GH-425] was opened
A related Github Pull-Request [GH-425] was closed
Comment created by @FabioBatSilva:
Fixed by : doctrine/dbal@24ec194
Issue was closed with resolution "Fixed"
Comment created by @doctrinebot:
A related Github Pull-Request [GH-425] was closed: