Jira issue originally created by user shurakai:
Within the QueryBuilder section, it should be described that params can be bound by using setParameter($key, $value) or setParameters($array)
Also, it should be mentioned that using $queryBuilder->expr()->in('field', array( 'string' ) ); is not valid and instead of using a string, one must use ?1 and set the param by using setParameters. (Otherwise, an exception would be thrown)
Comment created by shurakai:
Added some changes here http://github.com/Shurakai/orm-documentation/commit/b8576559928e665fccbe8a0321c52e500f7c4e5b
Further improvements will be appreciated!
Comment created by romanb:
The formatting seems to be a bit broken, maybe a tabs/spaces issue? (we use spaces only).
I will pull this upstream then soon.
OK, I see this is already committed. Can you just take a second look at the formatting? Thanks.
This can be closed then as you see fit.
Issue was closed with resolution "Fixed"