From 10607f88e414003b83e460b4d2ec54e68639fd92 Mon Sep 17 00:00:00 2001 From: Florian Wessels Date: Mon, 4 May 2020 10:19:40 +0200 Subject: [PATCH] [TASK] Do not declare argument types for getHash method --- Classes/Resource/FileDelivery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Resource/FileDelivery.php b/Classes/Resource/FileDelivery.php index 5eb6443..01402d4 100644 --- a/Classes/Resource/FileDelivery.php +++ b/Classes/Resource/FileDelivery.php @@ -168,7 +168,7 @@ protected function getExtensionConfiguration(): array /** * TODO: Refactor it to a hash service */ - protected function getHash(string $resourceUri, int $userId, string $userGroupIds, int $validityPeriod = 0): string + protected function getHash($resourceUri, $userId, $userGroupIds, $validityPeriod = 0): string { if ($this->extensionConfiguration['enableGroupCheck']) { $hashString = $userId . $userGroupIds . $resourceUri . $validityPeriod;