Fix unexisting class and PHPDoc

You can't add int here as hint...
Merge pull request #11090 from owncloud/fix-undefined-class-and-phpdoc

Fix unexisting class and PHPDoc