aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/ObjectStore/AppdataPreviewObjectStoreStorage.php
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-10-08 15:13:16 +0200
committerKate <26026535+provokateurin@users.noreply.github.com>2024-10-23 13:24:18 +0200
commit0de4843b73ee4779c7e455dd80c36a6b506e0024 (patch)
tree67ad68f0b4c925a65b029bdfcaafe5681c527d3a /lib/private/Files/ObjectStore/AppdataPreviewObjectStoreStorage.php
parent74cd6e295a8e2e7c64e4fe38ba775986c57509a4 (diff)
downloadnextcloud-server-0de4843b73ee4779c7e455dd80c36a6b506e0024.tar.gz
nextcloud-server-0de4843b73ee4779c7e455dd80c36a6b506e0024.zip
refactor(Storage): Align all Storage constructorsrefactor/storage/constructors
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private/Files/ObjectStore/AppdataPreviewObjectStoreStorage.php')
-rw-r--r--lib/private/Files/ObjectStore/AppdataPreviewObjectStoreStorage.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/Files/ObjectStore/AppdataPreviewObjectStoreStorage.php b/lib/private/Files/ObjectStore/AppdataPreviewObjectStoreStorage.php
index 66fa74172d3..aaaee044bac 100644
--- a/lib/private/Files/ObjectStore/AppdataPreviewObjectStoreStorage.php
+++ b/lib/private/Files/ObjectStore/AppdataPreviewObjectStoreStorage.php
@@ -12,15 +12,15 @@ class AppdataPreviewObjectStoreStorage extends ObjectStoreStorage {
private string $internalId;
/**
- * @param array $params
+ * @param array $parameters
* @throws \Exception
*/
- public function __construct($params) {
- if (!isset($params['internal-id'])) {
+ public function __construct(array $parameters) {
+ if (!isset($parameters['internal-id'])) {
throw new \Exception('missing id in parameters');
}
- $this->internalId = (string)$params['internal-id'];
- parent::__construct($params);
+ $this->internalId = (string)$parameters['internal-id'];
+ parent::__construct($parameters);
}
public function getId(): string {