[DBAL-626] [GH-386] Fix Index construction Created: 09/Oct/13 Updated: 17/Oct/13 Resolved: 17/Oct/13
|Reporter:||Doctrine Bot||Assignee:||Guilherme Blanco|
This issue is created automatically through a Github pull request on behalf of deeky666:
This PR fixes an uncommon but possible use case where an `Index` is constructed with an empty columns array. Following calls to `Index::getColumns()` lead to a PHP warning `array_keys() expects parameter 1 to be array, null given` as the `$_columns` property is not properly initialized.
|Comment by Doctrine Bot [ 09/Oct/13 ]|
A related Github Pull-Request [GH-386] was closed:
|Comment by Marco Pivetta [ 17/Oct/13 ]|