* @param IUser $user
* @param FileInfo $sourceFile
* @param int|string $revision
- * @return ISimpleFile
+ *
+ * @return File
+ *
* @since 15.0.0
*/
public function getVersionFile(IUser $user, FileInfo $sourceFile, $revision): File;
* @param IOutput $output
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
* @param array $options
- * @return null|ISchemaWrapper
+ *
+ * @return ISchemaWrapper
*/
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ISchemaWrapper {
/** @var ISchemaWrapper $schema */
*
* @param string $key the key of the value, under which it was saved
* @param mixed $default the default value to be returned if the value isn't set
- * @return mixed the value or $default
+ *
+ * @return bool
+ *
* @since 16.0.0
*/
public function getSystemValueBool(string $key, bool $default = false): bool {
*
* @param string $key the key of the value, under which it was saved
* @param mixed $default the default value to be returned if the value isn't set
- * @return mixed the value or $default
+ *
+ * @return int
+ *
* @since 16.0.0
*/
public function getSystemValueInt(string $key, int $default = 0): int {
*
* @param string $key the key of the value, under which it was saved
* @param mixed $default the default value to be returned if the value isn't set
- * @return mixed the value or $default
+ *
+ * @return string
+ *
* @since 16.0.0
*/
public function getSystemValueString(string $key, string $default = ''): string {