Typehint for IDEs

this should make PHPStorm a bit more happy