Skip to content

Commit 6e30512

Browse files
committed
remove website parameter for getdelay function
1 parent 2234a18 commit 6e30512

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Model/Config/Entity/Erasure.php

+2-8
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,10 @@ public function getAllowedStatesToErase(int|string|null $website = null): array
5454
}
5555

5656
/**
57-
* @param int|string|null $website
58-
*
5957
* @return int
6058
*/
61-
public function getDelay(int|string|null $website = null): int
59+
public function getDelay(): int
6260
{
63-
return (int)$this->scopeConfig->getValue(
64-
self::CONFIG_PATH_ERASURE_DELAY,
65-
ScopeInterface::SCOPE_WEBSITE,
66-
$website
67-
);
61+
return (int)$this->scopeConfig->getValue(self::CONFIG_PATH_ERASURE_DELAY, ScopeInterface::SCOPE_WEBSITE);
6862
}
6963
}

0 commit comments

Comments
 (0)