mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: fixed stylistic errors
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
This commit is contained in:
parent
a8844d408b
commit
c5d1fda4ab
4 changed files with 6 additions and 6 deletions
|
|
@ -93,7 +93,7 @@ class VersionEntity extends Entity implements JsonSerializable {
|
|||
* @param string $key key associated with the value
|
||||
* @param string $value value associated with the key
|
||||
*/
|
||||
public function setMetadataValue(string $key, $value): void {
|
||||
public function setMetadataValue(string $key, string $value): void {
|
||||
$this->metadata[$key] = $value;
|
||||
$this->markFieldUpdated('metadata');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ declare(strict_types=1);
|
|||
/**
|
||||
* @author Eduardo Morales emoral435@gmail.com>
|
||||
*
|
||||
* @license AGPL-3.0
|
||||
* @license GNU AGPL-3.0-or-later
|
||||
*
|
||||
* This code is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License, version 3,
|
||||
|
|
@ -62,7 +62,7 @@ class MetadataFileEvents implements IEventListener {
|
|||
// check if our version manager supports setting the metadata
|
||||
if ($this->versionManager instanceof IMetadataVersionBackend) {
|
||||
$author = $user->getUID();
|
||||
$this->versionManager->setMetadataValue($node, "author", $author);
|
||||
$this->versionManager->setMetadataValue($node, 'author', $author);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ declare(strict_types=1);
|
|||
/**
|
||||
* @copyright Copyright (c) 2024 Eduardo Morales <emoral435@gmail.com>
|
||||
*
|
||||
* @license GNU AGPL version 3 or any later version
|
||||
* @license GNU AGPL-3.0-or-later
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
|
|
@ -29,7 +29,7 @@ namespace OCA\Files_Versions\Versions;
|
|||
*/
|
||||
interface IMetadataVersion {
|
||||
/**
|
||||
* @abstract retrieves the metadata value from our $key param
|
||||
* retrieves the metadata value from our $key param
|
||||
*
|
||||
* @param string $key the key for the json value of the metadata column
|
||||
* @since 29.0.0
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ declare(strict_types=1);
|
|||
/**
|
||||
* @copyright Copyright (c) 2024 Eduardo Morales <emoral435@gmail.com>
|
||||
*
|
||||
* @license GNU AGPL version 3 or any later version
|
||||
* @license GNU AGPL-3.0-or-later
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
|||
Loading…
Reference in a new issue