Fixed wrong method call in code example
Merge pull request #384 from marcverney/master

Wrong method call in DI doc page