minor #923 Made EntityTypeConfigurator code more robust (javiereguiluz)
minor #923 Made EntityTypeConfigurator code more robust (javiereguiluz)

This PR was merged into the master branch.

Discussion
----------

Made EntityTypeConfigurator code more robust

As commented by @rubengc in https://github.com/javiereguiluz/EasyAdminBundle/issues/868#issuecomment-188319211  the code can be improve to avoid PHP notices in some cases.

Commits
-------

c0d5aa0 Made EntityTypeConfigurator code more robust

ogizanagi/EasyAdminBundle,ogizanagi/EasyAdminBundle,yceruto/EasyAdminBundle,yceruto/EasyAdminBundle,OskarStark/EasyAdminBundle,OskarStark/EasyAdminBundle,OskarStark/EasyAdminBundle,ogizanagi/EasyAdminBundle,javiereguiluz/EasyAdminBundle,yceruto/EasyAdminBundle,javiereguiluz/EasyAdminBundle,ogizanagi/EasyAdminBundle