Fix scrutinizer complains and return type doc
Fix scrutinizer complains and return type doc

endsguy/server,endsguy/server,lrytz/core,pmattern/server,lrytz/core,lrytz/core,whitekiba/server,bluelml/core,sharidas/core,owncloud/core,michaelletzgus/nextcloud-server,endsguy/server,xx621998xx/server,Ardinis/server,Ardinis/server,xx621998xx/server,Ardinis/server,endsguy/server,jbicha/server,andreas-p/nextcloud-server,pmattern/server,pollopolea/core,michaelletzgus/nextcloud-server,lrytz/core,whitekiba/server,andreas-p/nextcloud-server,andreas-p/nextcloud-server,whitekiba/server,xx621998xx/server,cernbox/core,xx621998xx/server,pixelipo/server,pollopolea/core,cernbox/core,cernbox/core,cernbox/core,bluelml/core,IljaN/core,xx621998xx/server,pixelipo/server,jbicha/server,owncloud/core,pollopolea/core,michaelletzgus/nextcloud-server,pixelipo/server,IljaN/core,nextcloud/server,pollopolea/core,IljaN/core,whitekiba/server,bluelml/core,michaelletzgus/nextcloud-server,Ardinis/server,sharidas/core,phil-davis/core,Ardinis/server,cernbox/core,andreas-p/nextcloud-server,owncloud/core,endsguy/server,andreas-p/nextcloud-server,pixelipo/server,IljaN/core,pollopolea/core,pixelipo/server,jbicha/server,pmattern/server,pmattern/server,owncloud/core,bluelml/core,owncloud/core,lrytz/core,sharidas/core,sharidas/core,whitekiba/server,IljaN/core,jbicha/server,jbicha/server,nextcloud/server,bluelml/core,nextcloud/server,sharidas/core,pmattern/server,nextcloud/server