don't overwrite methods with a different signature, fixes log messages in #core/9566

fixes log errors in https://github.com/owncloud/core/issues/9566