Exchanged call to deprecated method.

Related to https://scrutinizer-ci.com/g/phpDocumentor/phpDocumentor2/inspections/9e7104ef-add3-46da-9115-6f1de5404121/issues/files/src/phpDocumentor/Plugin/Core/Twig/Extension.php?status=existing&selectedLabels[0]=11&orderField=path&order=asc
Corrected call
Exchanged call to deprecated method.

Related to https://scrutinizer-ci.com/g/phpDocumentor/phpDocumentor2/inspections/9e7104ef-add3-46da-9115-6f1de5404121/issues/files/src/phpDocumentor/Plugin/Core/Twig/Extension.php?status=existing&selectedLabels[0]=11&orderField=path&order=asc
Corrected call
Merge branch 'patch-15' of https://github.com/siad007/phpDocumentor2 into patch-15
Merge pull request #1169 from siad007/patch-15

Exchanged call to deprecated method.