Changed type hint
Let Container::call accept every single callable type
Cleaning up some code.
Merge pull request #6668 from hannesvdvreken/fix/type-hint

[5.0] Changed type hint to a contract