Replacing deprecated method call in Form Type class
Merge pull request #8 from scollado/master

Fixing Deprecated method call