Add type hinting
Merge pull request #8277 from owncloud/add-type-hints

Add type hinting

* owncloud/add-type-hints:
  Add type hinting