Fixed method call.

Related to https://github.com/phpDocumentor/phpDocumentor2/pull/1145
Merge pull request #31 from siad007/patch-1

Fixed method call.