Fix type hinting for app manager

I blame phpstorm's refactoring for missing this one.

cc @DeepDiver1975 @PVince81 @LukasReschke