Skip to content


DBAL-626: [GH-386] Fix Index construction #1842

doctrinebot opened this Issue · 3 comments

2 participants


Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of deeky666:

Url: #386


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 created by @doctrinebot:

A related Github Pull-Request [GH-386] was closed:


Comment created by @ocramius:

Merged: a619261


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label
@doctrinebot doctrinebot added this to the 2.5 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.