change to foreach loop in findDecls
Merge pull request #3 from John-Colvin/patch-3

change to foreach loop in findDecls