Skip to content

Commit

Permalink
[TASK] Do not declare argument types for getHash method
Browse files Browse the repository at this point in the history
  • Loading branch information
flossels committed May 4, 2020
1 parent 2c0b83a commit 10607f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Resource/FileDelivery.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 10607f8

Please sign in to comment.