Resolve some deprecation notices (#15)
Add some return type hints (#15) This PR adds return type hints to resolve deprecation warnings issued by Symfony's DebugClassLoader in Symfony 5.4. In places where we cannot reasonably rule out that methods have been overridden, only soft (docblock-based) types are added. In case you have overwritten these methods, you should start adding _real_ return type declarations _now_.