doctrine/doctrine2 — pull request #1082 by rodnaph (2014-07-15 11:34:35+00:00)
Title: added more informative error messages when invalid parameter count

When an invalid number of parameters is bound current it's not indicated if there are too few or too many (which could help a lot in trying to debug the problem). This change alters the exception message to be more informative as to whether too few or too many parameters have been bound in the query.