Skip to content

Commit b4d78e7

Browse files
committed
Fix Static tests failure
1 parent 32adddb commit b4d78e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/Magento/LoginAsCustomerAssistance/Plugin/CustomerDataValidatePlugin.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,16 @@ public function __construct(
4747
*
4848
* @param Form $subject
4949
* @param RequestInterface $request
50+
* @param null|string $scope
51+
* @param bool $scopeOnly
5052
* @throws Exception
5153
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
5254
*/
5355
public function beforeExtractData(
5456
Form $subject,
55-
RequestInterface $request
57+
RequestInterface $request,
58+
$scope = null,
59+
$scopeOnly = true
5660
): void {
5761
if ($this->isSetAssistanceAllowedParam($request)
5862
&& !$this->authorization->isAllowed('Magento_LoginAsCustomer::allow_shopping_assistance')

0 commit comments

Comments
 (0)