Fix typo funcion -> function
fix more funcion => function typos
Merge pull request #8572 from jcollie/depends-typo

fix funcion => function typos