Added TypeCheck and ran php-cs-fixer. (refs #3)